ConfigureNamedOptions<TOptions>.Configure 方法

定義

多載

Configure(TOptions)

叫用以使用 DefaultName 來設定 TOptions 執行個體。Invoked to configure a TOptions instance with the DefaultName.

Configure(String, TOptions)

name 相符,則會叫用已註冊的設定 ActionInvokes the registered configure Action if the name matches.

Configure(TOptions)

叫用以使用 DefaultName 來設定 TOptions 執行個體。Invoked to configure a TOptions instance with the DefaultName.

public:
 virtual void Configure(TOptions options);
public void Configure (TOptions options);
abstract member Configure : 'Options -> unit
override this.Configure : 'Options -> unit
Public Sub Configure (options As TOptions)

參數

options
TOptions

要設定的選項執行個體。The options instance to configure.

實作

適用於

Configure(String, TOptions)

name 相符,則會叫用已註冊的設定 ActionInvokes the registered configure Action if the name matches.

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

參數

name
String

正在設定的選項執行個體名稱。The name of the options instance being configured.

options
TOptions

要設定的選項執行個體。The options instance to configure.

實作

適用於