Dela via


Microsoft.Extensions.Options.Contextual Namespace

Contains classes and interfaces for generating and managing contextual options and their associated contexts.

Classes

OptionsContextAttribute

Generates an implementation of IOptionsContext for the annotated type.

Interfaces

IContextualOptions<TOptions,TContext>

Provides functionality to retrieve configured TOptions instances.

INamedContextualOptions<TOptions,TContext>

Provides functionality to retrieve named configured TOptions instances.

IOptionsContext

The context used to configure contextual options.