Compartir a través de


SiloBuilderExtensions.ConfigureServices Método

Definición

Agrega servicios al contenedor. Esto se puede llamar varias veces y los resultados serán acumulables.

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

Parámetros

builder
ISiloBuilder

El objeto ISiloBuilder que se va a configurar.

configureDelegate
Action<IServiceCollection>

Devoluciones

La misma instancia de ISiloBuilder para el encadenamiento.

Se aplica a