protected void Track(TimeSpan counter) { _service.Track(counter, metric, name); }
public void TrackAndStop() { stopwatch.Stop(); _service.Track(stopwatch.Elapsed, metric, name); stopwatch = null; }