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