Beispiel #1
0
        public void Initialize(IIconBarObject context, MenuItem menuItem)
        {
            var bpm = context as ILCodeBreakpoint;

            if (bpm != null)
            {
                EnableDisableBreakpointDebugCtxMenuCommand.InitializeMenuItem(this, bpm.IsEnabled, 1, menuItem, BackgroundType.ContextMenuItem);
            }
        }
Beispiel #2
0
 public override ImageReference?GetIcon(ILCodeBreakpoint context) => EnableDisableBreakpointDebugCtxMenuCommand.GetIconInternal();
Beispiel #3
0
 public override bool IsEnabled(ILCodeBreakpoint context) => EnableDisableBreakpointDebugCtxMenuCommand.IsMenuItemEnabledInternal(1);
Beispiel #4
0
 public override string GetHeader(ILCodeBreakpoint context) => EnableDisableBreakpointDebugCtxMenuCommand.GetHeaderInternal(context.IsEnabled, 1);
Beispiel #5
0
 public override string GetIcon(ILCodeBreakpoint context)
 {
     return(EnableDisableBreakpointDebugCtxMenuCommand.GetIconInternal());
 }