NamedConfigureFromConfigurationOptions<TOptions> Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration) |
Construtor que usa a instância de IConfiguration para se associar. |
NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration, Action<BinderOptions>) |
Construtor que usa a instância de IConfiguration para se associar. |
NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration)
Construtor que usa a instância de IConfiguration para se associar.
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
O nome da instância de opções.
- config
- IConfiguration
A instância IConfiguration.
Aplica-se a
NamedConfigureFromConfigurationOptions<TOptions>(String, IConfiguration, Action<BinderOptions>)
Construtor que usa a instância de IConfiguration para se associar.
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
O nome da instância de opções.
- config
- IConfiguration
A instância IConfiguration.
- configureBinder
- Action<BinderOptions>
Usado para configurar o BinderOptions.