Поделиться через


PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4> Class

Definition

Implementation of IPostConfigureOptions<TOptions>.

generic <typename TOptions, typename TDep1, typename TDep2, typename TDep3, typename TDep4>
 where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : classpublic ref class PostConfigureOptions : Microsoft::Extensions::Options::IPostConfigureOptions<TOptions>
public class PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class
type PostConfigureOptions<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null)> = class
    interface IPostConfigureOptions<'Options (requires 'Options : null)>
Public Class PostConfigureOptions(Of TOptions, TDep1, TDep2, TDep3, TDep4)
Implements IPostConfigureOptions(Of TOptions)

Type Parameters

TOptions

Options type being configured.

TDep1

First dependency type.

TDep2

Second dependency type.

TDep3

Third dependency type.

TDep4

Fourth dependency type.

Inheritance
PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4>
Implements

Constructors

PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4>(String, TDep1, TDep2, TDep3, TDep4, Action<TOptions,TDep1,TDep2,TDep3,TDep4>)

Initializes a new instance of PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4>.

Properties

Action

Gets the configuration action.

Dependency1

Gets the first dependency.

Dependency2

Gets the second dependency.

Dependency3

Gets the third dependency.

Dependency4

Gets the fourth 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