protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes) { return(DeleteNamespaceCommand.CanExecute(nodes)); }
void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e) { e.CanExecute = DeleteNamespaceCommand.CanExecute(MainWindow.Instance.SelectedNodes); }