Partager via


ClientBuilderExtensions.UseServiceProviderFactory Méthode

Définition

Spécifie la façon dont le IServiceProvider pour ce client est configuré.

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

Paramètres

builder
IClientBuilder

Générateur.

factory
Func<IServiceCollection,IServiceProvider>

Fabrique du fournisseur de services.

Retours

Générateur.

S’applique à