ClientBuilder 构造函数

定义

重载

ClientBuilder(IServiceCollection)

初始化 ClientBuilder 类的新实例。

ClientBuilder(IServiceCollection, IConfiguration)

初始化 ClientBuilder 类的新实例。

ClientBuilder(IServiceCollection)

初始化 ClientBuilder 类的新实例。

public ClientBuilder (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
new Orleans.Hosting.ClientBuilder : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Orleans.Hosting.ClientBuilder
Public Sub New (services As IServiceCollection)

参数

services
IServiceCollection

服务集合。

适用于

ClientBuilder(IServiceCollection, IConfiguration)

初始化 ClientBuilder 类的新实例。

public ClientBuilder (Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration);
new Orleans.Hosting.ClientBuilder : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfiguration -> Orleans.Hosting.ClientBuilder
Public Sub New (services As IServiceCollection, configuration As IConfiguration)

参数

services
IServiceCollection

服务集合。

configuration
IConfiguration

适用于