ClientBuilderExtensions.UseServiceProviderFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how the IServiceProvider for this client is configured.
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
Parameters
- builder
- IClientBuilder
The builder.
- factory
- Func<IServiceCollection,IServiceProvider>
The service provider factory.
Returns
The builder.