2026-02-24 06:26:33 -06:00
|
|
|
// Copyright (c) Microsoft Corporation
|
|
|
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
|
|
|
|
|
using Microsoft.CommandPalette.Extensions;
|
|
|
|
|
|
|
|
|
|
namespace Microsoft.CmdPal.UI.ViewModels;
|
|
|
|
|
|
|
|
|
|
public interface IContextMenuFactory
|
|
|
|
|
{
|
|
|
|
|
List<IContextItemViewModel> UnsafeBuildAndInitMoreCommands(IContextItem[] items, CommandItemViewModel commandItem);
|
2026-02-27 07:24:23 -06:00
|
|
|
|
|
|
|
|
void AddMoreCommandsToTopLevel(
|
|
|
|
|
TopLevelViewModel topLevelItem,
|
|
|
|
|
ICommandProviderContext providerContext,
|
|
|
|
|
List<IContextItem?> contextItems);
|
2026-02-24 06:26:33 -06:00
|
|
|
}
|