Microsoft.Extensions.Options Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types used for implementing the options pattern.
Classes
Interfaces
IConfigureNamedOptions<TOptions> |
Represents something that configures the |
IConfigureOptions<TOptions> |
Represents something that configures the |
IOptions<TOptions> |
Retrieves configured |
IOptionsChangeTokenSource<TOptions> |
Fetches a IChangeToken that's used for tracking options changes. |
IOptionsFactory<TOptions> |
Creates |
IOptionsMonitor<TOptions> |
Monitors changes on a |
IOptionsMonitorCache<TOptions> |
Used by IOptionsMonitor<TOptions> to cache |
IOptionsSnapshot<TOptions> |
Used to access the value of |
IPostConfigureOptions<TOptions> |
Represents something that configures the |
IStartupValidator |
Used by hosts to validate options during startup. |
IValidateOptions<TOptions> |
Validates options. |
Remarks
For more information about implementing the options pattern, see Options pattern in .NET.