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