PostConfigureOptions<TOptions,TDep1,TDep2> Class

Definition

Implementation of IPostConfigureOptions<TOptions>.

C#
public class PostConfigureOptions<TOptions,TDep1,TDep2> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class

Type Parameters

TOptions

Options type being configured.

TDep1

First dependency type.

TDep2

Second dependency type.

Inheritance
PostConfigureOptions<TOptions,TDep1,TDep2>
Implements

Constructors

Properties

Action

Gets the configuration action.

Dependency1

Gets the first dependency.

Dependency2

Gets the second dependency.

Name

Gets the options name.

Methods

PostConfigure(String, TOptions)

Invokes the registered initialization Action if the name matches.

PostConfigure(TOptions)

Configures a TOptions instance using the DefaultName.

Applies to

Toode Versioonid
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)