OptionsFactory<TOptions> Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>) |
Inicializa una nueva instancia con las configuraciones de opciones especificadas. |
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>) |
Inicializa una nueva instancia con las configuraciones de opciones especificadas. |
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>)
- Source:
- OptionsFactory.cs
- Source:
- OptionsFactory.cs
- Source:
- OptionsFactory.cs
Inicializa una nueva instancia con las configuraciones de opciones especificadas.
public:
OptionsFactory(System::Collections::Generic::IEnumerable<Microsoft::Extensions::Options::IConfigureOptions<TOptions> ^> ^ setups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::Options::IPostConfigureOptions<TOptions> ^> ^ postConfigures);
public OptionsFactory (System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<TOptions>> setups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IPostConfigureOptions<TOptions>> postConfigures);
new Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> : seq<Microsoft.Extensions.Options.IConfigureOptions<'Options>> * seq<Microsoft.Extensions.Options.IPostConfigureOptions<'Options>> -> Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
new Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null)> : seq<Microsoft.Extensions.Options.IConfigureOptions<'Options>> * seq<Microsoft.Extensions.Options.IPostConfigureOptions<'Options>> -> Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null)>
Public Sub New (setups As IEnumerable(Of IConfigureOptions(Of TOptions)), postConfigures As IEnumerable(Of IPostConfigureOptions(Of TOptions)))
Parámetros
- setups
- IEnumerable<IConfigureOptions<TOptions>>
Las acciones de configuración que se van a ejecutar.
- postConfigures
- IEnumerable<IPostConfigureOptions<TOptions>>
Las acciones de inicialización que se van a ejecutar.
Se aplica a
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>)
- Source:
- OptionsFactory.cs
- Source:
- OptionsFactory.cs
- Source:
- OptionsFactory.cs
Inicializa una nueva instancia con las configuraciones de opciones especificadas.
public:
OptionsFactory(System::Collections::Generic::IEnumerable<Microsoft::Extensions::Options::IConfigureOptions<TOptions> ^> ^ setups, System::Collections::Generic::IEnumerable<Microsoft::Extensions::Options::IPostConfigureOptions<TOptions> ^> ^ postConfigures, System::Collections::Generic::IEnumerable<Microsoft::Extensions::Options::IValidateOptions<TOptions> ^> ^ validations);
public OptionsFactory (System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IConfigureOptions<TOptions>> setups, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IPostConfigureOptions<TOptions>> postConfigures, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Options.IValidateOptions<TOptions>> validations);
new Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> : seq<Microsoft.Extensions.Options.IConfigureOptions<'Options>> * seq<Microsoft.Extensions.Options.IPostConfigureOptions<'Options>> * seq<Microsoft.Extensions.Options.IValidateOptions<'Options>> -> Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
new Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null)> : seq<Microsoft.Extensions.Options.IConfigureOptions<'Options>> * seq<Microsoft.Extensions.Options.IPostConfigureOptions<'Options>> * seq<Microsoft.Extensions.Options.IValidateOptions<'Options>> -> Microsoft.Extensions.Options.OptionsFactory<'Options (requires 'Options : null)>
Public Sub New (setups As IEnumerable(Of IConfigureOptions(Of TOptions)), postConfigures As IEnumerable(Of IPostConfigureOptions(Of TOptions)), validations As IEnumerable(Of IValidateOptions(Of TOptions)))
Parámetros
- setups
- IEnumerable<IConfigureOptions<TOptions>>
Las acciones de configuración que se van a ejecutar.
- postConfigures
- IEnumerable<IPostConfigureOptions<TOptions>>
Las acciones de inicialización que se van a ejecutar.
- validations
- IEnumerable<IValidateOptions<TOptions>>
Las validaciones que se van a ejecutar.