Condividi tramite


ClientBuilderExtensions.UseServiceProviderFactory Metodo

Definizione

Specifica la modalità di configurazione dell'oggetto IServiceProvider per questo client.

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

Parametri

builder
IClientBuilder

Generatore.

factory
Func<IServiceCollection,IServiceProvider>

Factory del provider di servizi.

Restituisce

Generatore.

Si applica a