共用方式為


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>

服務提供者處理站。

傳回

產生器。

適用於