ClientBuilderExtensions.Configure 方法

定义

重载

Configure<TOptions>(IClientBuilder, IConfiguration)

注册将对其绑定 TOptions 的配置实例。

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

注册用于配置特定类型的选项的操作。

Configure<TOptions>(IClientBuilder, IConfiguration)

Source:
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>)

Source:
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>

用于配置选项的操作。

返回

客户端生成器。

适用于