private void Init(CounterType counterType, string description, CounterMeasureType measureType) { _stopWatch = Stopwatch.StartNew(); _type = counterType; _description = description; _measure = measureType; _stopWatch.Start(); }
public Counter(CounterType counterType = CounterType.Common, string description = null, CounterMeasureType measureType = CounterMeasureType.MilliSec) { Init(counterType, description, measureType); }