public static TimerToken LogTiming(this IStatsDHelper helper, string name)
 {
     return(new TimerToken(helper, name));
 }
Ejemplo n.º 2
0
 internal TimerToken(IStatsDHelper helper, string name)
 {
     _stopwatch = Stopwatch.StartNew();
     _helper = helper;
     _name = name;
 }
Ejemplo n.º 3
0
 internal TimerToken(IStatsDHelper helper, string name)
 {
     _stopwatch = Stopwatch.StartNew();
     _helper    = helper;
     _name      = name;
 }