AddCosmosGrainStorage(IServiceCollection, string, Action<OptionsBuilder<CosmosGrainStorageOptions>>)
staticextension
public static IServiceCollection AddCosmosGrainStorage(this IServiceCollection services, string name, Action<OptionsBuilder<CosmosGrainStorageOptions>>? configureOptions = null) Configure silo to use Azure Cosmos DB storage for grain storage.
Parameters
servicesIServiceCollection- The service collection.
namestring- The storage provider name.
configureOptionsAction<OptionsBuilder<CosmosGrainStorageOptions>>- The delegate used to configure the provider.
