Ejemplo n.º 1
0
 public override bool IsVisible(AsmEditorContext context) => DeleteNamespaceCommand.CanExecute(context.Nodes);
Ejemplo n.º 2
0
 public override void Execute(AsmEditorContext context) => DeleteNamespaceCommand.Execute(undoCommandService, context.Nodes);
Ejemplo n.º 3
0
		CommandLoader(IWpfCommandManager wpfCommandManager, DeleteNamespaceCommand.EditMenuCommand removeCmd) {
			wpfCommandManager.AddRemoveCommand(removeCmd);
		}
Ejemplo n.º 4
0
 public override void Execute(AsmEditorContext context)
 {
     DeleteNamespaceCommand.Execute(undoCommandManager, context.Nodes);
 }
Ejemplo n.º 5
0
 protected override void ExecuteInternal(ILSpyTreeNode[] nodes)
 {
     DeleteNamespaceCommand.Execute(nodes);
 }
Ejemplo n.º 6
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(DeleteNamespaceCommand.CanExecute(nodes));
 }
Ejemplo n.º 7
0
		CommandLoader(IWpfCommandService wpfCommandService, DeleteNamespaceCommand.EditMenuCommand removeCmd) {
			wpfCommandService.AddRemoveCommand(removeCmd);
		}
Ejemplo n.º 8
0
 void DeleteExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     DeleteNamespaceCommand.Execute(MainWindow.Instance.SelectedNodes);
 }
Ejemplo n.º 9
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = DeleteNamespaceCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }