Condividi tramite


ISiloHostBuilder.UseServiceProviderFactory<TContainerBuilder> Metodo

Definizione

Esegue l'override della factory usata per la creazione del provider di servizi.

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

Parametri di tipo

TContainerBuilder

Parametri

factory
IServiceProviderFactory<TContainerBuilder>

Restituisce

Stessa istanza del generatore host per il concatenamento.

Si applica a