示例#1
0
 public override bool IsChecked(BreakpointCtxMenuContext context)
 {
     return(breakpointSettings.ShowParameterTypes);
 }
示例#2
0
 public override bool IsEnabled(BreakpointCtxMenuContext context)
 {
     return(false);           //TODO:
 }
示例#3
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     breakpointSettings.ShowTokens = !breakpointSettings.ShowTokens;
 }
示例#4
0
文件: Commands.cs 项目: ottrur/dnSpy
 protected override void Execute(BreakpointCtxMenuContext context)
 {
     BreakpointsControlCreator.BreakpointsControlInstance.listView.SelectAll();
 }
示例#5
0
 public override bool IsEnabled(BreakpointCtxMenuContext context) => DebugRoutedCommands.DeleteAllBreakpoints.CanExecute(null, appWindow.MainWindow);
示例#6
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     breakpointSettings.ShowReturnTypes = !breakpointSettings.ShowReturnTypes;
 }
示例#7
0
 public override bool IsChecked(BreakpointCtxMenuContext context)
 {
     return(breakpointSettings.ShowTypeKeywords);
 }
示例#8
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     breakpointsContent.Value.ListView.SelectAll();
 }
示例#9
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     context.VM.Remove(context.SelectedItems);
 }
示例#10
0
 public override void Execute(BreakpointCtxMenuContext context) => breakpointSettings.ShowOwnerTypes = !breakpointSettings.ShowOwnerTypes;
示例#11
0
 public override bool IsChecked(BreakpointCtxMenuContext context) => breakpointSettings.ShowReturnTypes;
示例#12
0
 public override bool IsChecked(BreakpointCtxMenuContext context) => breakpointSettings.ShowParameterNames;
示例#13
0
 public override void Execute(BreakpointCtxMenuContext context) => breakpointSettings.ShowParameterNames = !breakpointSettings.ShowParameterNames;
示例#14
0
 public override bool IsChecked(BreakpointCtxMenuContext context) => breakpointSettings.ShowTokens;
示例#15
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     breakpointSettings.ShowNamespaces = !breakpointSettings.ShowNamespaces;
 }
示例#16
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     DebugRoutedCommands.DisableAllBreakpoints.Execute(null, appWindow.MainWindow);
 }
示例#17
0
 public override bool IsChecked(BreakpointCtxMenuContext context)
 {
     return(breakpointSettings.ShowNamespaces);
 }
示例#18
0
 public override bool IsVisible(BreakpointCtxMenuContext context)
 {
     return(DebugRoutedCommands.DisableAllBreakpoints.CanExecute(null, appWindow.MainWindow));
 }
示例#19
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     breakpointSettings.ShowTypeKeywords = !breakpointSettings.ShowTypeKeywords;
 }
示例#20
0
 public override bool IsEnabled(BreakpointCtxMenuContext context)
 {
     return(context.SelectedItems.Length == 1 && context.SelectedItems[0].Breakpoint is ILCodeBreakpoint);
 }
示例#21
0
文件: Commands.cs 项目: ottrur/dnSpy
 protected override bool IsEnabled(BreakpointCtxMenuContext context)
 {
     return(context.SelectedItems.Length > 0);
 }
示例#22
0
 public override void Execute(BreakpointCtxMenuContext context)
 {
     //TODO:
 }
示例#23
0
文件: Commands.cs 项目: ottrur/dnSpy
 protected override bool IsEnabled(BreakpointCtxMenuContext context)
 {
     return(BreakpointsControlCreator.BreakpointsControlInstance.listView.Items.Count > 0);
 }
示例#24
0
 public override bool IsEnabled(BreakpointCtxMenuContext context) => context.SelectedItems.Length > 0;