protected override void Initialize(Context ctx, MenuItem menuItem) { DeleteMethodDefCommand.Initialize(ctx.Nodes, menuItem); }
protected override bool CanExecute(Context ctx) { return(ctx.ReferenceSegment.IsLocalTarget && DeleteMethodDefCommand.CanExecute(ctx.Nodes)); }
protected override void Execute(Context ctx) { DeleteMethodDefCommand.Execute(ctx.Nodes); }
protected override void Initialize(ILSpyTreeNode[] nodes, MenuItem menuItem) { DeleteMethodDefCommand.Initialize(nodes, menuItem); }
protected override void ExecuteInternal(ILSpyTreeNode[] nodes) { DeleteMethodDefCommand.Execute(nodes); }
protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes) { return(DeleteMethodDefCommand.CanExecute(nodes)); }
void DeleteExecuted(object sender, ExecutedRoutedEventArgs e) { DeleteMethodDefCommand.Execute(MainWindow.Instance.SelectedNodes); }
void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e) { e.CanExecute = DeleteMethodDefCommand.CanExecute(MainWindow.Instance.SelectedNodes); }