示例#1
0
        public void Dispose()
        {
            if (_cassandraOptions.Setup && _cassandraOptions.Isolate)
            {
                DeleteKeyspace();
                _connection.Dispose();
            }

            _mediatorSniffer?.Dispose();
            _container?.Dispose();
        }
示例#2
0
 public void Dispose()
 {
     _mediatorSniffer?.Dispose();
     _container?.Dispose();
 }