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