다음을 통해 공유


WebHostBuilder.ConfigureAppConfiguration 메서드

정의

를 생성할 를 IConfigurationBuilder 구성하기 위한 대리자를 추가합니다 IConfiguration.

public:
 virtual Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ ConfigureAppConfiguration(Action<Microsoft::AspNetCore::Hosting::WebHostBuilderContext ^, Microsoft::Extensions::Configuration::IConfigurationBuilder ^> ^ configureDelegate);
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

매개 변수

configureDelegate
Action<WebHostBuilderContext,IConfigurationBuilder>

를 구성하는 데 사용할 를 구성 IConfigurationBuilder 하기 위한 대리자입니다 IConfiguration.

반환

IWebHostBuilder

구현

설명

의 및 ILoggerFactoryWebHostBuilderContextIConfiguration 이 단계에서 초기화되지 않습니다. 는 IConfigurationBuilderIWebHostBuilder설정으로 미리 채워집니다.

적용 대상