Beispiel #1
0
        public void Dispose()
        {
            if (_disposed)
            {
                throw new ObjectDisposedException(nameof(EloquentClient));
            }

            _disposed = true;

            _sessionAgent.Dispose();
            _eventHandlersRepository.Dispose();
            _outputChannel.Dispose();
            _inputChannel.Dispose();
        }
Beispiel #2
0
 public void Dispose()
 {
     _server.Dispose();
     _objectsRepository.Dispose();
     _inputChannel.Dispose();
 }