共用方式為


ConfigureNamedOptions<TOptions>.Configure Method

Definition

Overloads

Configure(TOptions)

Invoked to configure a TOptions instance with the DefaultName.

Configure(String, TOptions)

Invokes the registered configure Action if the name matches.

Configure(TOptions)

Source:
ConfigureNamedOptions.cs
Source:
ConfigureNamedOptions.cs
Source:
ConfigureNamedOptions.cs

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)

Parameters

options
TOptions

The options instance to configure.

Implements

Applies to

Configure(String, TOptions)

Source:
ConfigureNamedOptions.cs
Source:
ConfigureNamedOptions.cs
Source:
ConfigureNamedOptions.cs

Invokes 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)

Parameters

name
String

The name of the options instance being configured.

options
TOptions

The options instance to configure.

Implements

Applies to