Compartilhar via


ConfigureHostBuilder.ConfigureHostConfiguration Método

Definição

Definir a configuração do próprio construtor. Isso será usado para inicializar o IHostEnvironment para uso posterior no processo de build. Isso pode ser chamado várias vezes e os resultados serão aditivos.

public Microsoft.Extensions.Hosting.IHostBuilder ConfigureHostConfiguration (Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
abstract member ConfigureHostConfiguration : Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
override this.ConfigureHostConfiguration : Action<Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
Public Function ConfigureHostConfiguration (configureDelegate As Action(Of IConfigurationBuilder)) As IHostBuilder

Parâmetros

configureDelegate
Action<IConfigurationBuilder>

Retornos

Implementações

Aplica-se a