/// <summary> /// Gets a new Stopwatch to monitor a call method. Be sure to call MonitoringTimers.Current.AddTime after to save that time ! /// </summary> /// <param name="start">Is the Stopwatch started or not ?</param> public IStopwatch GetNewStopwatch(bool start) { IStopwatch result = new TimeMeasurement(); if (start) { result.Start(); } return(result); }