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