IClientBuilder.UseServiceProviderFactory<TContainerBuilder> 方法

定义

指定如何 IServiceProvider 配置此客户端。

public Orleans.IClientBuilder UseServiceProviderFactory<TContainerBuilder> (Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder> factory);
abstract member UseServiceProviderFactory : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<'ContainerBuilder> -> Orleans.IClientBuilder
Public Function UseServiceProviderFactory(Of TContainerBuilder) (factory As IServiceProviderFactory(Of TContainerBuilder)) As IClientBuilder

类型参数

TContainerBuilder

参数

factory
IServiceProviderFactory<TContainerBuilder>

服务提供商工厂。

返回

生成器。

适用于