Udostępnij za pośrednictwem


PostConfigureOptions<TOptions,TDep> Class

Definition

Implementation of IPostConfigureOptions<TOptions>.

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

Type Parameters

TOptions

Options type being configured.

TDep

Dependency type.

Inheritance
PostConfigureOptions<TOptions,TDep>
Implements

Constructors

PostConfigureOptions<TOptions,TDep>(String, TDep, Action<TOptions,TDep>)

Constructor.

Properties

Action

The configuration action.

Dependency

The 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