Aracılığıyla paylaş


OptionsFactory<TOptions> Oluşturucular

Tanım

Aşırı Yüklemeler

OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>)

Belirtilen seçenek yapılandırmalarıyla yeni bir örnek başlatır.

OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>)

Belirtilen seçenek yapılandırmalarıyla yeni bir örnek başlatır.

OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>)

Kaynak:
OptionsFactory.cs
Kaynak:
OptionsFactory.cs
Kaynak:
OptionsFactory.cs

Belirtilen seçenek yapılandırmalarıyla yeni bir örnek başlatır.

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)))

Parametreler

setups
IEnumerable<IConfigureOptions<TOptions>>

Çalıştırılacak yapılandırma eylemleri.

postConfigures
IEnumerable<IPostConfigureOptions<TOptions>>

Çalıştırılacak başlatma eylemleri.

Şunlara uygulanır

OptionsFactory<TOptions>(IEnumerable<IConfigureOptions<TOptions>>, IEnumerable<IPostConfigureOptions<TOptions>>, IEnumerable<IValidateOptions<TOptions>>)

Kaynak:
OptionsFactory.cs
Kaynak:
OptionsFactory.cs
Kaynak:
OptionsFactory.cs

Belirtilen seçenek yapılandırmalarıyla yeni bir örnek başlatır.

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)))

Parametreler

setups
IEnumerable<IConfigureOptions<TOptions>>

Çalıştırılacak yapılandırma eylemleri.

postConfigures
IEnumerable<IPostConfigureOptions<TOptions>>

Çalıştırılacak başlatma eylemleri.

validations
IEnumerable<IValidateOptions<TOptions>>

Çalıştırılacak doğrulamalar.

Şunlara uygulanır