Beispiel #1
0
 public void Drop()
 {
     if (_inmemoryCollection.IsActive)
     {
         _inmemoryCollection.Clear();
         _indexes.Clear();
     }
     _storage.Drop();
 }
 public async Task DropAsync()
 {
     if (_inmemoryCollection.IsActive)
     {
         _inmemoryCollection.Clear();
         _indexes.Clear();
     }
     await _storage.DropAsync().ConfigureAwait(false);
 }