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