Compartilhar via


ClientBuilderExtensions.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.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

Parâmetros

builder
IClientBuilder

O construtor de host.

configureDelegate
Action<IServiceCollection>

Retornos

A mesma instância do IClientBuilder para encadeamento.

Aplica-se a