BuildingCoder.JtTimer.IDisposable C# (CSharp) Метод

IDisposable() приватный Метод

Automatic disposal when the the using statement block finishes: the timer is stopped and the time is registered.
private IDisposable ( ) : void
Результат void
        void IDisposable.Dispose()
        {
            _timer.Stop();
              _duration = _timer.Elapsed.TotalSeconds;
              TimeRegistry.AddTime( _key, _duration );
        }