OptionsFactory<TOptions> Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>) |
Inizializza una nuova istanza con le configurazioni delle opzioni specificate. |
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>) |
Inizializza una nuova istanza con le configurazioni delle opzioni specificate. |
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>)
Inizializza una nuova istanza con le configurazioni delle opzioni specificate.
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)))
Parametri
- setups
- IEnumerable<IConfigureOptions<TOptions>>
Azioni di configurazione da eseguire.
- postConfigures
- IEnumerable<IPostConfigureOptions<TOptions>>
Azioni di inizializzazione da eseguire.
Si applica a
OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>)
Inizializza una nuova istanza con le configurazioni delle opzioni specificate.
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)))
Parametri
- setups
- IEnumerable<IConfigureOptions<TOptions>>
Azioni di configurazione da eseguire.
- postConfigures
- IEnumerable<IPostConfigureOptions<TOptions>>
Azioni di inizializzazione da eseguire.
- validations
- IEnumerable<IValidateOptions<TOptions>>
Convalide da eseguire.