IParsedOptions<TProviderOptions, TStoreOptions, TScopedStoreOptions>

Namespace: Proffer.Storage.Configuration

Typed options parsed from the dynamic configuration.

public interface IParsedOptions<TProviderOptions, TStoreOptions, TScopedStoreOptions>

Type Parameters

TProviderOptions
The type of the provider instance options.

TStoreOptions
The type of the store options.

TScopedStoreOptions
The type of the scoped store options.

Properties

Name

Gets the name.

public abstract string Name { get; }

Property Value

String

ConnectionStrings

Gets or sets the connection strings.

public abstract IReadOnlyDictionary<string, string> ConnectionStrings { get; set; }

Property Value

IReadOnlyDictionary<String, String>

ParsedProviders

Gets or sets the parsed provider options.

public abstract IReadOnlyDictionary<string, TProviderOptions> ParsedProviders { get; set; }

Property Value

IReadOnlyDictionary<String, TProviderOptions>

ParsedStores

Gets or sets the parsed stores options.

public abstract IReadOnlyDictionary<string, TStoreOptions> ParsedStores { get; set; }

Property Value

IReadOnlyDictionary<String, TStoreOptions>

ParsedScopedStores

Gets or sets the parsed scoped stores options.

public abstract IReadOnlyDictionary<string, TScopedStoreOptions> ParsedScopedStores { get; set; }

Property Value

IReadOnlyDictionary<String, TScopedStoreOptions>

Methods

BindProviderOptions(TProviderOptions)

Binds the provider options.

void BindProviderOptions(TProviderOptions providerOptions)

Parameters

providerOptions TProviderOptions
The provider options.

BindStoreOptions(TStoreOptions, TProviderOptions)

Binds the store options.

void BindStoreOptions(TStoreOptions storeOptions, TProviderOptions providerInstanceOptions)

Parameters

storeOptions TStoreOptions
The store options.

providerInstanceOptions TProviderOptions
The provider instance options.

Exceptions

BadStoreConfiguration