Ejemplo n.º 1
0
 public BreakpointVM(BreakpointsVM owner, IBreakpointContext context, Breakpoint bp)
 {
     this.owner          = owner;
     this.context        = context;
     this.bp             = bp;
     bp.PropertyChanged += Breakpoint_PropertyChanged;
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
		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;
		}
Ejemplo n.º 4
0
		public BreakpointVM(BreakpointsVM owner, IBreakpointContext context, Breakpoint bp) {
			this.owner = owner;
			Context = context;
			Breakpoint = bp;
			bp.PropertyChanged += Breakpoint_PropertyChanged;
		}