Compartir a través de


SiloHostBuilderExtensions.UseServiceProviderFactory Método

Definición

Sobrecargas

UseServiceProviderFactory(ISiloHostBuilder, Func<IServiceCollection,IServiceProvider>)

Especifica cómo se configura el para IServiceProvider este silo.

UseServiceProviderFactory<TContainerBuilder>(ISiloHostBuilder, IServiceProviderFactory<TContainerBuilder>)

Especifica cómo se configura el para IServiceProvider este silo.

UseServiceProviderFactory(ISiloHostBuilder, Func<IServiceCollection,IServiceProvider>)

Source:
SiloHostBuilderExtensions.cs

Especifica cómo se configura el para IServiceProvider este silo.

public static Orleans.Hosting.ISiloHostBuilder UseServiceProviderFactory (this Orleans.Hosting.ISiloHostBuilder builder, Func<Microsoft.Extensions.DependencyInjection.IServiceCollection,IServiceProvider> configureServiceProvider);
static member UseServiceProviderFactory : Orleans.Hosting.ISiloHostBuilder * Func<Microsoft.Extensions.DependencyInjection.IServiceCollection, IServiceProvider> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseServiceProviderFactory (builder As ISiloHostBuilder, configureServiceProvider As Func(Of IServiceCollection, IServiceProvider)) As ISiloHostBuilder

Parámetros

builder
ISiloHostBuilder

El generador de hosts.

configureServiceProvider
Func<IServiceCollection,IServiceProvider>

Método de configuración del proveedor de servicios.

Devoluciones

El constructor del silo.

Se aplica a

UseServiceProviderFactory<TContainerBuilder>(ISiloHostBuilder, IServiceProviderFactory<TContainerBuilder>)

Source:
SiloHostBuilderExtensions.cs

Especifica cómo se configura el para IServiceProvider este silo.

public static Orleans.Hosting.ISiloHostBuilder UseServiceProviderFactory<TContainerBuilder> (Orleans.Hosting.ISiloHostBuilder builder, Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder> factory);
static member UseServiceProviderFactory : Orleans.Hosting.ISiloHostBuilder * Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<'ContainerBuilder> -> Orleans.Hosting.ISiloHostBuilder
Public Function UseServiceProviderFactory(Of TContainerBuilder) (builder As ISiloHostBuilder, factory As IServiceProviderFactory(Of TContainerBuilder)) As ISiloHostBuilder

Parámetros de tipo

TContainerBuilder

Parámetros

builder
ISiloHostBuilder

El generador de hosts.

factory
IServiceProviderFactory<TContainerBuilder>

Método de configuración del proveedor de servicios.

Devoluciones

El constructor del silo.

Se aplica a