共用方式為


SiloBuilderExtensions.Configure 方法

定義

多載

Configure<TOptions>(ISiloBuilder, IConfiguration)

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

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

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

Configure<TOptions>(ISiloBuilder, IConfiguration)

來源:
SiloBuilderExtensions.cs

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

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

類型參數

TOptions

要設定的選項類型。

參數

builder
ISiloBuilder

定址接收器產生器。

configuration
IConfiguration

組態。

傳回

定址接收器產生器。

適用於

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

來源:
SiloBuilderExtensions.cs

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

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

類型參數

TOptions

要設定的選項類型。

參數

builder
ISiloBuilder

定址接收器產生器。

configureOptions
Action<TOptions>

用來設定選項的動作。

傳回

定址接收器產生器。

適用於