public override bool IsVisible(AsmEditorContext context) => AssemblySettingsCommand.CanExecute(context.Nodes);
public override void Execute(AsmEditorContext context) => AssemblySettingsCommand.Execute(undoCommandService, appService, context.Nodes);
protected override void ExecuteInternal(ILSpyTreeNode[] nodes) { AssemblySettingsCommand.Execute(nodes); }
protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes) { return(AssemblySettingsCommand.CanExecute(nodes)); }
CommandLoader(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, RemoveAssemblyCommand.EditMenuCommand removeCmd, AssemblySettingsCommand.EditMenuCommand settingsCmd) { wpfCommandService.AddRemoveCommand(removeCmd); wpfCommandService.AddSettingsCommand(documentTabService, settingsCmd, null); }
public override void Execute(AsmEditorContext context) { AssemblySettingsCommand.Execute(undoCommandManager, appWindow, context.Nodes); }
CommandLoader(IWpfCommandManager wpfCommandManager, IFileTabManager fileTabManager, RemoveAssemblyCommand.EditMenuCommand removeCmd, AssemblySettingsCommand.EditMenuCommand settingsCmd) { wpfCommandManager.AddRemoveCommand(removeCmd); wpfCommandManager.AddSettingsCommand(fileTabManager, settingsCmd, null); }