OptionsBuilderConfigurationExtensions OptionsBuilderConfigurationExtensions OptionsBuilderConfigurationExtensions Class

Definition

Extension methods for adding configuration related options services to the DI container via OptionsBuilder<TOptions>.

public static class OptionsBuilderConfigurationExtensions
type OptionsBuilderConfigurationExtensions = class
Public Module OptionsBuilderConfigurationExtensions
Inheritance
OptionsBuilderConfigurationExtensionsOptionsBuilderConfigurationExtensionsOptionsBuilderConfigurationExtensions

Methods

Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration) Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration) Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration)

Registers a configuration instance which TOptions will bind against.

Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration, Action<BinderOptions>) Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration, Action<BinderOptions>) Bind<TOptions>(OptionsBuilder<TOptions>, IConfiguration, Action<BinderOptions>)

Registers a configuration instance which TOptions will bind against.

Applies to