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