Ejemplo n.º 1
0
 public static DungeonServiceCollectionEx_step4 WithMongoSnapshots(this DungeonServiceCollectionEx_step3 step, string connectionString, string dbName, Action <SnapshotConfiguration> cfg)
 {
     step.WithSnapshots(() => new MongoSnapshotStore(connectionString, dbName), cfg);
     return(new DungeonServiceCollectionEx_step4(step));
 }
Ejemplo n.º 2
0
 public static DungeonServiceCollectionEx_step4_withAzureCreateTables WithAzureTablesSnapshots(this DungeonServiceCollectionEx_step3 step, AzureTablesSnapshotsConfig storeConfig, Action <SnapshotConfiguration> cfg)
 {
     step.WithSnapshots(() => new AzureTablesSnapshotStore(storeConfig), cfg);
     return(new DungeonServiceCollectionEx_step4_withAzureCreateTables(step, storeConfig));
 }