Compartir a través de


ClientBuilderExtensions.UseServiceProviderFactory Método

Definición

Especifica cómo se configura para IServiceProvider este cliente.

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

Parámetros

builder
IClientBuilder

Generador.

factory
Func<IServiceCollection,IServiceProvider>

Generador de proveedores de servicios.

Devoluciones

Generador.

Se aplica a