Пример #1
0
        protected override void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            if (disposing)
            {
                _loggingService?.Dispose();
            }

            _disposed = true;

            base.Dispose(disposing);
        }
Пример #2
0
 protected override void Dispose(bool disposing)
 {
     _ErrorService.Dispose();
     base.Dispose(disposing);
 }