Exemplo n.º 1
0
 public LiteDbSubscriptionStorage(string path, CollectionNameCorrector collectionNameCorrector)
 {
     if (string.IsNullOrEmpty(path))
     {
         throw new InvalidOperationException($"Cannot instantiate LiteDb database with given path '{path}'");
     }
     IsCentralized            = true;
     _pathToStorage           = path;
     _collectionNameCorrector = collectionNameCorrector;
 }
Exemplo n.º 2
0
 public LiteDbSagaStorage(string pathToStorage, CollectionNameCorrector collectionNameCorrector)
 {
     _pathToStorage           = pathToStorage;
     _collectionNameCorrector = collectionNameCorrector;
 }