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