Redigera

Dela via


SiloHostBuilder.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
override this.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.

Implements

Applies to