Skip to content

CosmosGrainStorage Constructors

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

CosmosGrainStorage(string, CosmosGrainStorageOptions, ILoggerFactory, IServiceProvider, IOptions<ClusterOptions>, IPartitionKeyProvider, IActivatorProvider)

View source
public CosmosGrainStorage(string name, CosmosGrainStorageOptions options, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IOptions<ClusterOptions> clusterOptions, IPartitionKeyProvider partitionKeyProvider, IActivatorProvider activatorProvider)

Parameters

namestring
optionsCosmosGrainStorageOptions
loggerFactoryILoggerFactory
serviceProviderIServiceProvider
clusterOptionsIOptions<ClusterOptions>
partitionKeyProviderIPartitionKeyProvider
activatorProviderIActivatorProvider