Compartilhar via


SiloHostBuilder.UseServiceProviderFactory<TContainerBuilder> Método

Definição

Substitui a fábrica usada para criar o provedor de serviços.

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

Parâmetros de tipo

TContainerBuilder

Parâmetros

factory
IServiceProviderFactory<TContainerBuilder>

Retornos

A mesma instância do construtor de host para encadeamento.

Implementações

Aplica-se a