Compartir vía


OptionsFactory<TOptions> Constructors

Definition

Overloads

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

Initializes a new instance with the specified options configurations.

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

Initializes a new instance with the specified options configurations.

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

Source:
OptionsFactory.cs
Source:
OptionsFactory.cs
Source:
OptionsFactory.cs
Source:
OptionsFactory.cs
Source:
OptionsFactory.cs

Initializes a new instance with the specified options configurations.

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

Parameters

setups
IEnumerable<IConfigureOptions<TOptions>>

The configuration actions to run.

postConfigures
IEnumerable<IPostConfigureOptions<TOptions>>

The initialization actions to run.

Applies to

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

Source:
OptionsFactory.cs
Source:
OptionsFactory.cs
Source:
OptionsFactory.cs
Source:
OptionsFactory.cs
Source:
OptionsFactory.cs

Initializes a new instance with the specified options configurations.

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

Parameters

setups
IEnumerable<IConfigureOptions<TOptions>>

The configuration actions to run.

postConfigures
IEnumerable<IPostConfigureOptions<TOptions>>

The initialization actions to run.

validations
IEnumerable<IValidateOptions<TOptions>>

The validations to run.

Applies to