public override bool IsEnabled(CallStackCtxMenuContext context) => context.SelectedItems.Length > 0;
protected override void Initialize(CallStackCtxMenuContext context, MenuItem menuItem) { menuItem.IsChecked = DebuggerSettings.Instance.UseHexadecimal; }
protected override void Initialize(CallStackCtxMenuContext context, MenuItem menuItem) { menuItem.IsChecked = CallStackSettings.Instance.ShowIP; }
protected override bool IsEnabled(CallStackCtxMenuContext context) { return(GetFrame(context) != null); }
protected override bool IsEnabled(CallStackCtxMenuContext context) { var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context); return(vm != null && DebugManager.Instance.CanRunTo(vm.Frame)); }
public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowTokens;
protected override bool IsEnabled(CallStackCtxMenuContext context) { return(CallStackControlCreator.CallStackControlInstance.listView.Items.Count > 0); }
public override bool IsEnabled(CallStackCtxMenuContext context) => debugService.Value.CanRunTo(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
public override void Execute(CallStackCtxMenuContext context) => debuggerSettings.UseHexadecimal = !debuggerSettings.UseHexadecimal;
public override bool IsEnabled(CallStackCtxMenuContext context) => SwitchToFrameCallStackCtxMenuCommand.GetFrame(context) != null;
public override bool IsEnabled(CallStackCtxMenuContext context) => FrameUtils.CanGoToDisasm(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
public override void Execute(CallStackCtxMenuContext context) => SwitchToFrameCallStackCtxMenuCommand.Execute(moduleIdProvider, stackFrameService.Value, documentTabService, moduleLoader.Value, SwitchToFrameCallStackCtxMenuCommand.GetFrame(context), true);
public override bool IsEnabled(CallStackCtxMenuContext context) => GetFrame(context) != null;
public override void Execute(CallStackCtxMenuContext context) => Execute(moduleIdProvider, stackFrameService.Value, documentTabService, moduleLoader.Value, GetFrame(context), false);
public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowTypeKeywords = !callStackSettings.ShowTypeKeywords;
public override bool IsChecked(CallStackCtxMenuContext context) => debuggerSettings.UseHexadecimal;
public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowTokens = !callStackSettings.ShowTokens;
public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowParameterValues = !callStackSettings.ShowParameterValues;
protected override void Execute(CallStackCtxMenuContext context) { CallStackControlCreator.CallStackControlInstance.listView.SelectAll(); }
public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowParameterValues;
protected override void Execute(CallStackCtxMenuContext context) { Execute(GetFrame(context), false); }
public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowNamespaces = !callStackSettings.ShowNamespaces;
protected override bool IsEnabled(CallStackCtxMenuContext context) { var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context); return(vm != null && FrameUtils.CanGoToDisasm(vm.Frame)); }
public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowNamespaces;
protected override void Execute(CallStackCtxMenuContext context) { DebuggerSettings.Instance.UseHexadecimal = !DebuggerSettings.Instance.UseHexadecimal; }
public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowReturnTypes = !callStackSettings.ShowReturnTypes;
protected override void Execute(CallStackCtxMenuContext context) { CallStackSettings.Instance.ShowParameterValues = !CallStackSettings.Instance.ShowParameterValues; }
public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowReturnTypes;
protected override void Execute(CallStackCtxMenuContext context) { CallStackSettings.Instance.ShowOwnerTypes = !CallStackSettings.Instance.ShowOwnerTypes; }
public override void Execute(CallStackCtxMenuContext context) { callStackContent.Value.ListView.SelectAll(); }