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