Esempio 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;
 }
Esempio n. 2
0
 public LiteDbSagaStorage(string pathToStorage, CollectionNameCorrector collectionNameCorrector)
 {
     _pathToStorage           = pathToStorage;
     _collectionNameCorrector = collectionNameCorrector;
 }