Esempio n. 1
0
 public static CosmosDbElsaBuilder AddCosmosDbProvider(this ElsaBuilder builder,
                                                       Action <OptionsBuilder <DocumentDbStorageOptions> > options)
 {
     return(builder.AddCosmosDbProvider <TenantProvider>(options));
 }
Esempio n. 2
0
 public static CosmosDbElsaBuilder AddCosmosDbProvider <T>(this ElsaBuilder builder,
                                                           Action <OptionsBuilder <DocumentDbStorageOptions> > options) where T : class, ITenantProvider
 {
     return(builder.AddCosmosDbProvider <T>(typeof(CosmosDbStoreHelper <>), options));
 }