PostConfigureOptions<TOptions,TDep1,TDep2>.PostConfigure 方法

定义

重载

PostConfigure(TOptions)

调用以使用 DefaultName 配置 TOptions 实例。

PostConfigure(String, TOptions)

如果 name 匹配,则调用已注册的初始化 Action

PostConfigure(TOptions)

Source:
PostConfigureOptions.cs
Source:
PostConfigureOptions.cs
Source:
PostConfigureOptions.cs

调用以使用 DefaultName 配置 TOptions 实例。

public:
 void PostConfigure(TOptions options);
public void PostConfigure (TOptions options);
member this.PostConfigure : 'Options -> unit
Public Sub PostConfigure (options As TOptions)

参数

options
TOptions

要配置的选项实例。

适用于

PostConfigure(String, TOptions)

Source:
PostConfigureOptions.cs
Source:
PostConfigureOptions.cs
Source:
PostConfigureOptions.cs

如果 name 匹配,则调用已注册的初始化 Action

public:
 virtual void PostConfigure(System::String ^ name, TOptions options);
public virtual void PostConfigure (string name, TOptions options);
public virtual void PostConfigure (string? name, TOptions options);
abstract member PostConfigure : string * 'Options -> unit
override this.PostConfigure : string * 'Options -> unit
Public Overridable Sub PostConfigure (name As String, options As TOptions)

参数

name
String

正在配置的选项实例的名称。

options
TOptions

要配置的选项实例。

实现

适用于