public BreakpointVM(BreakpointsVM owner, IBreakpointContext context, Breakpoint bp) { this.owner = owner; this.context = context; this.bp = bp; bp.PropertyChanged += Breakpoint_PropertyChanged; }
static SimplePrinterFlags GetFlags(IBreakpointContext ctx) { SimplePrinterFlags flags = 0; if (ctx.ShowModuleNames) { flags |= SimplePrinterFlags.ShowModuleNames; } if (ctx.ShowParameterTypes) { flags |= SimplePrinterFlags.ShowParameterTypes; } if (ctx.ShowParameterNames) { flags |= SimplePrinterFlags.ShowParameterNames; } if (ctx.ShowOwnerTypes) { flags |= SimplePrinterFlags.ShowOwnerTypes; } if (ctx.ShowReturnTypes) { flags |= SimplePrinterFlags.ShowReturnTypes; } if (ctx.ShowNamespaces) { flags |= SimplePrinterFlags.ShowNamespaces; } if (ctx.ShowTypeKeywords) { flags |= SimplePrinterFlags.ShowTypeKeywords; } return(flags); }
static SimplePrinterFlags GetFlags(IBreakpointContext ctx) { SimplePrinterFlags flags = 0; if (ctx.ShowModuleNames) flags |= SimplePrinterFlags.ShowModuleNames; if (ctx.ShowParameterTypes) flags |= SimplePrinterFlags.ShowParameterTypes; if (ctx.ShowParameterNames) flags |= SimplePrinterFlags.ShowParameterNames; if (ctx.ShowOwnerTypes) flags |= SimplePrinterFlags.ShowOwnerTypes; if (ctx.ShowReturnTypes) flags |= SimplePrinterFlags.ShowReturnTypes; if (ctx.ShowNamespaces) flags |= SimplePrinterFlags.ShowNamespaces; if (ctx.ShowTypeKeywords) flags |= SimplePrinterFlags.ShowTypeKeywords; return flags; }
public BreakpointVM(BreakpointsVM owner, IBreakpointContext context, Breakpoint bp) { this.owner = owner; Context = context; Breakpoint = bp; bp.PropertyChanged += Breakpoint_PropertyChanged; }