Partilhar via


ConfigureWebHostBuilder.ConfigureAppConfiguration Método

Definição

Adiciona um delegado para configurar o IConfigurationBuilder que construirá um IConfiguration.

public Microsoft.AspNetCore.Hosting.IWebHostBuilder ConfigureAppConfiguration (Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext,Microsoft.Extensions.Configuration.IConfigurationBuilder> configureDelegate);
abstract member ConfigureAppConfiguration : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
override this.ConfigureAppConfiguration : Action<Microsoft.AspNetCore.Hosting.WebHostBuilderContext, Microsoft.Extensions.Configuration.IConfigurationBuilder> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
Public Function ConfigureAppConfiguration (configureDelegate As Action(Of WebHostBuilderContext, IConfigurationBuilder)) As IWebHostBuilder

Parâmetros

configureDelegate
Action<WebHostBuilderContext,IConfigurationBuilder>

O delegado para configurar o IConfigurationBuilder que será usado para construir um IConfiguration.

Retornos

O IWebHostBuilder.

Implementações

Aplica-se a