Exemplo n.º 1
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(DeleteMethodDefCommand.CanExecute(nodes));
 }
Exemplo n.º 2
0
 protected override bool CanExecute(Context ctx)
 {
     return(ctx.ReferenceSegment.IsLocalTarget &&
            DeleteMethodDefCommand.CanExecute(ctx.Nodes));
 }
Exemplo n.º 3
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = DeleteMethodDefCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }