Condividi tramite


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

Implementazioni

Si applica a