다음을 통해 공유


PostConfigureOptions<TOptions,TDep1,TDep2> Class

Definition

Implementation of IPostConfigureOptions<TOptions>.

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

Type Parameters

TOptions

Options type being configured.

TDep1

First dependency type.

TDep2

Second dependency type.

Inheritance
PostConfigureOptions<TOptions,TDep1,TDep2>
Implements

Constructors

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

Constructor.

Properties

Action

The configuration action.

Dependency1

The first dependency.

Dependency2

The second dependency.

Name

The options name.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PostConfigure(String, TOptions)

Invokes the registered initialization Action if the name matches.

PostConfigure(TOptions)

Invoked to configure a TOptions instance using the DefaultName.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to