다음을 통해 공유


ConfigureHostBuilder.ConfigureContainer<TContainerBuilder> 메서드

정의

인스턴스화된 종속성 컨테이너를 구성할 수 있습니다. 여러 번 호출할 수 있으며 결과는 누적됩니다.

public Microsoft.Extensions.Hosting.IHostBuilder ConfigureContainer<TContainerBuilder> (Action<Microsoft.Extensions.Hosting.HostBuilderContext,TContainerBuilder> configureDelegate);
abstract member ConfigureContainer : Action<Microsoft.Extensions.Hosting.HostBuilderContext, 'ContainerBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
override this.ConfigureContainer : Action<Microsoft.Extensions.Hosting.HostBuilderContext, 'ContainerBuilder> -> Microsoft.Extensions.Hosting.IHostBuilder
Public Function ConfigureContainer(Of TContainerBuilder) (configureDelegate As Action(Of HostBuilderContext, TContainerBuilder)) As IHostBuilder

형식 매개 변수

TContainerBuilder

매개 변수

configureDelegate
Action<HostBuilderContext,TContainerBuilder>

반환

구현

적용 대상