ConfigureProviderOptions<TParsedOptions, TProviderOptions, TStoreOptions, TScopedStoreOptions>

Namespace: Proffer.Storage.Internal

Configures a provider from generic StorageOptions.

public class ConfigureProviderOptions<TParsedOptions, TProviderOptions, TStoreOptions, TScopedStoreOptions> : 

Type Parameters

TParsedOptions
The type of the parsed options.

TProviderOptions
The type of the provider instance options.

TStoreOptions
The type of the store options.

TScopedStoreOptions
The type of the scoped store options.

Inheritance ObjectConfigureProviderOptions<TParsedOptions, TProviderOptions, TStoreOptions, TScopedStoreOptions>
Implements IConfigureOptions<TParsedOptions>

Constructors

ConfigureProviderOptions(IOptions<StorageOptions>)

Initializes a new instance of the ConfigureProviderOptions<TParsedOptions, TProviderOptions, TStoreOptions, TScopedStoreOptions> class.

public ConfigureProviderOptions(IOptions<StorageOptions> storageOptions)

Parameters

storageOptions IOptions<StorageOptions>
The storage options.

Methods

Configure(TParsedOptions)

Invoked to configure a instance.

public void Configure(TParsedOptions options)

Parameters

options TParsedOptions
The options instance to configure.

Exceptions

BadStoreConfiguration

BadProviderConfiguration