Compartilhar via


SiloBuilderExtensions.ConfigureServices Método

Definição

Adiciona serviços ao contêiner. Isso pode ser chamado várias vezes e os resultados serão aditivos.

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

O ISiloBuilder a ser configurado.

configureDelegate
Action<IServiceCollection>

Retornos

A mesma instância do ISiloBuilder para encadeamento.

Aplica-se a