Redigera

Dela via


SiloBuilderExtensions.ConfigureServices Method

Definition

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

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

Parameters

builder
ISiloBuilder

The ISiloBuilder to configure.

configureDelegate
Action<IServiceCollection>

Returns

The same instance of the ISiloBuilder for chaining.

Applies to