protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         _client?.Dispose();
     }
 }
Пример #2
0
        protected virtual void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            if (disposing)
            {
                _amazonSimpleSystemsManagementClient.Dispose();
            }
            _disposed = true;
        }
Пример #3
0
 public void Dispose()
 {
     Scaling.Dispose();
     EC2.Dispose();
     SSM.Dispose();
 }