Пример #1
0
        public static InstrumentedOperation <T> Test <T>(Func <T> func, string text, int normalizer = 1, bool dbgWriteLn = true)
        {
            var temp = new InstrumentedOperation <T>(func, text, normalizer);

            if (dbgWriteLn)
            {
                Tracer.TraceLn(temp.ToString());
            }
            return(temp);
        }
Пример #2
0
        public static InstrumentedOperation Test(Action action, string text, int normalizer = 1, bool dbgWriteLn = true)
        {
            var temp = new InstrumentedOperation(action, text, normalizer);

            if (dbgWriteLn)
            {
                Tracer.TraceLn(temp.ToString());
            }
            return(temp);
        }