Compartir a través de


ISiloHostBuilder.UseServiceProviderFactory<TContainerBuilder> Método

Definición

Invalida el generador que se usa para crear el proveedor de servicios.

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

Parámetros de tipo

TContainerBuilder

Parámetros

factory
IServiceProviderFactory<TContainerBuilder>

Devoluciones

La misma instancia del generador de hosts para encadenar.

Se aplica a