共用方式為


ClientBuilderExtensions.Configure 方法

定義

多載

Configure<TOptions>(IClientBuilder, IConfiguration)

註冊 TOptions 將繫結的組態執行個體。

Configure<TOptions>(IClientBuilder, Action<TOptions>)

註冊用來設定特定選項類型的動作。

Configure<TOptions>(IClientBuilder, IConfiguration)

來源:
ClientBuilderExtensions.cs

註冊 TOptions 將繫結的組態執行個體。

public static Orleans.IClientBuilder Configure<TOptions> (this Orleans.IClientBuilder builder, Microsoft.Extensions.Configuration.IConfiguration configuration) where TOptions : class;
static member Configure : Orleans.IClientBuilder * Microsoft.Extensions.Configuration.IConfiguration -> Orleans.IClientBuilder (requires 'Options : null)
<Extension()>
Public Function Configure(Of TOptions As Class) (builder As IClientBuilder, configuration As IConfiguration) As IClientBuilder

類型參數

TOptions

要設定的選項類型。

參數

builder
IClientBuilder

主機產生器。

configuration
IConfiguration

組態。

傳回

用戶端產生器。

適用於

Configure<TOptions>(IClientBuilder, Action<TOptions>)

來源:
ClientBuilderExtensions.cs

註冊用來設定特定選項類型的動作。

public static Orleans.IClientBuilder Configure<TOptions> (this Orleans.IClientBuilder builder, Action<TOptions> configureOptions) where TOptions : class;
static member Configure : Orleans.IClientBuilder * Action<'Options (requires 'Options : null)> -> Orleans.IClientBuilder (requires 'Options : null)
<Extension()>
Public Function Configure(Of TOptions As Class) (builder As IClientBuilder, configureOptions As Action(Of TOptions)) As IClientBuilder

類型參數

TOptions

要設定的選項類型。

參數

builder
IClientBuilder

主機產生器。

configureOptions
Action<TOptions>

用來設定選項的動作。

傳回

用戶端產生器。

適用於