private static IEventFlowOptions ConfigureFirebase( this IEventFlowOptions eventFlowOptions, IFirebaseConfig firebaseConfig, bool useBackupStore) { var firebaseClient = new FirebaseClient(firebaseConfig); return(eventFlowOptions.ConfigureFirebase(() => firebaseClient, useBackupStore)); }
public static IEventFlowOptions ConfigureFirebase( this IEventFlowOptions eventFlowOptions, string firebasePath, bool useBackupStore) { IFirebaseConfig config = new FirebaseConfig() { BasePath = firebasePath, }; return(eventFlowOptions .ConfigureFirebase(config, useBackupStore)); }
public static IEventFlowOptions ConfigureFirebase( this IEventFlowOptions eventFlowOptions, string firebasePath, string mongoDbConnectionString, string mongoDbDatabase) { IFirebaseConfig config = new FirebaseConfig() { BasePath = firebasePath }; return(eventFlowOptions .ConfigureFirebase(config, true) .ConfigureMongoDb(mongoDbConnectionString, mongoDbDatabase)); }