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); }
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); }