Edytuj

Udostępnij za pośrednictwem


ISiloHostBuilder.UseServiceProviderFactory<TContainerBuilder> Method

Definition

Overrides the factory used to create the service provider.

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

Type Parameters

TContainerBuilder

Parameters

factory
IServiceProviderFactory<TContainerBuilder>

Returns

The same instance of the host builder for chaining.

Applies to