Edit

Share via


IClientBuilder.UseServiceProviderFactory<TContainerBuilder> Method

Definition

Specifies how the IServiceProvider for this client is configured.

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

Type Parameters

TContainerBuilder

Parameters

factory
IServiceProviderFactory<TContainerBuilder>

The service provider factory.

Returns

The builder.

Applies to