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.IClientBuilder ConfigureServices (this Orleans.IClientBuilder hostBuilder, Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> configureDelegate);
static member ConfigureServices : Orleans.IClientBuilder * Action<Microsoft.Extensions.DependencyInjection.IServiceCollection> -> Orleans.IClientBuilder
<Extension()>
Public Function ConfigureServices (hostBuilder As IClientBuilder, configureDelegate As Action(Of IServiceCollection)) As IClientBuilder

Parâmetros

hostBuilder
IClientBuilder

O IClientBuilder a ser configurado.

configureDelegate
Action<IServiceCollection>

Retornos

A mesma instância do IClientBuilder para encadeamento.

Aplica-se a