Skip to content

CosmosOptionsValidator<TOptions> Constructors

Validates instances of CosmosOptions.

CosmosOptionsValidator<TOptions>(TOptions, string)

View source
public CosmosOptionsValidator(TOptions options, string name)
Initializes a new instance of the Orleans.Clustering.Cosmos.CosmosOptionsValidator type.

Parameters

optionsTOptions
The instance to be validated.
namestring
The option name to be validated.