Пример #1
0
 public override bool IsEnabled(CallStackCtxMenuContext context) =>
 FrameUtils.CanGoToDisasm(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
Пример #2
0
        public override bool IsEnabled(CallStackCtxMenuContext context)
        {
            var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context);

            return(vm != null && FrameUtils.CanGoToDisasm(vm.Frame));
        }