Beispiel #1
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(RemoveAssemblyCommand.CanExecute(nodes));
 }
 public override bool IsVisible(AsmEditorContext context) => RemoveAssemblyCommand.CanExecute(context.Nodes);
Beispiel #3
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = RemoveAssemblyCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }