Compartir a través de


NamedConfigureFromConfigurationOptions<TOptions> Constructores

Definición

Sobrecargas

NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration)

Constructor que toma la instancia de IConfiguration con la que se va a enlazar.

NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration, Action<BinderOptions>)

Constructor que toma la instancia de IConfiguration con la que se va a enlazar.

NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration)

Source:
NamedConfigureFromConfigurationOptions.cs
Source:
NamedConfigureFromConfigurationOptions.cs
Source:
NamedConfigureFromConfigurationOptions.cs

Constructor que toma la instancia de IConfiguration con la que se va a enlazar.

public:
 NamedConfigureFromConfigurationOptions(System::String ^ name, Microsoft::Extensions::Configuration::IConfiguration ^ config);
public NamedConfigureFromConfigurationOptions (string name, Microsoft.Extensions.Configuration.IConfiguration config);
public NamedConfigureFromConfigurationOptions (string? name, Microsoft.Extensions.Configuration.IConfiguration config);
new Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<'Options (requires 'Options : null)> : string * Microsoft.Extensions.Configuration.IConfiguration -> Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<'Options (requires 'Options : null)>
Public Sub New (name As String, config As IConfiguration)

Parámetros

name
String

El nombre de la instancia de opciones.

config
IConfiguration

Instancia de IConfiguration.

Se aplica a

NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration, Action<BinderOptions>)

Source:
NamedConfigureFromConfigurationOptions.cs
Source:
NamedConfigureFromConfigurationOptions.cs
Source:
NamedConfigureFromConfigurationOptions.cs

Constructor que toma la instancia de IConfiguration con la que se va a enlazar.

public:
 NamedConfigureFromConfigurationOptions(System::String ^ name, Microsoft::Extensions::Configuration::IConfiguration ^ config, Action<Microsoft::Extensions::Configuration::BinderOptions ^> ^ configureBinder);
public NamedConfigureFromConfigurationOptions (string name, Microsoft.Extensions.Configuration.IConfiguration config, Action<Microsoft.Extensions.Configuration.BinderOptions> configureBinder);
public NamedConfigureFromConfigurationOptions (string? name, Microsoft.Extensions.Configuration.IConfiguration config, Action<Microsoft.Extensions.Configuration.BinderOptions>? configureBinder);
new Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<'Options (requires 'Options : null)> : string * Microsoft.Extensions.Configuration.IConfiguration * Action<Microsoft.Extensions.Configuration.BinderOptions> -> Microsoft.Extensions.Options.NamedConfigureFromConfigurationOptions<'Options (requires 'Options : null)>
Public Sub New (name As String, config As IConfiguration, configureBinder As Action(Of BinderOptions))

Parámetros

name
String

El nombre de la instancia de opciones.

config
IConfiguration

Instancia de IConfiguration.

configureBinder
Action<BinderOptions>

Se usa para configurar BinderOptions.

Se aplica a