Skip to content

HostingExtensions Methods

Extension methods for configuring the Azure Cosmos DB reminder table provider.

UseCosmosReminderService(IServiceCollection, Action<CosmosReminderTableOptions>)

staticextension
View source
public static IServiceCollection UseCosmosReminderService(this IServiceCollection services, Action<CosmosReminderTableOptions> configure)
Adds reminder storage backed by Azure Cosmos DB.

Parameters

servicesIServiceCollection
The service collection.
configureAction<CosmosReminderTableOptions>
The delegate used to configure the reminder store.

Returns

The provided Microsoft.Extensions.DependencyInjection.IServiceCollection, for chaining.

UseCosmosReminderService(IServiceCollection, Action<OptionsBuilder<CosmosReminderTableOptions>>)

staticextension
View source
public static IServiceCollection UseCosmosReminderService(this IServiceCollection services, Action<OptionsBuilder<CosmosReminderTableOptions>> configure)
Adds reminder storage backed by Azure Cosmos DB.

Parameters

servicesIServiceCollection
The service collection.
configureAction<OptionsBuilder<CosmosReminderTableOptions>>
The delegate used to configure the reminder store.

Returns

The provided Microsoft.Extensions.DependencyInjection.IServiceCollection, for chaining.

UseCosmosReminderService(ISiloBuilder, Action<OptionsBuilder<CosmosReminderTableOptions>>)

staticextension
View source
public static ISiloBuilder UseCosmosReminderService(this ISiloBuilder builder, Action<OptionsBuilder<CosmosReminderTableOptions>> configure)
Adds reminder storage backed by Azure Cosmos DB.

Parameters

builderISiloBuilder
The builder.
configureAction<OptionsBuilder<CosmosReminderTableOptions>>
The delegate used to configure the reminder store.

Returns

The provided ISiloBuilder, for chaining.