Edit

Share via


ClientBuilderExtensions.ConfigureServices Method

Definition

Adds services to the container. This can be called multiple times and the results will be additive.

public static Orleans.Hosting.IClientBuilder ConfigureServices (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate);
static member ConfigureServices : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function ConfigureServices (builder As IClientBuilder, configureDelegate As Action(Of IServiceCollection)) As IClientBuilder

Parameters

builder
IClientBuilder

The host builder.

configureDelegate
Action<IServiceCollection>

Returns

The same instance of the IClientBuilder for chaining.

Applies to