Dela via


WebApplicationBuilder.IHostApplicationBuilder.ConfigureContainer<TContainerBuilder> Method

Definition

void IHostApplicationBuilder.ConfigureContainer<TContainerBuilder> (Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder> factory, Action<TContainerBuilder> configure);
abstract member Microsoft.Extensions.Hosting.IHostApplicationBuilder.ConfigureContainer : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<'ContainerBuilder> * Action<'ContainerBuilder> -> unit
override this.Microsoft.Extensions.Hosting.IHostApplicationBuilder.ConfigureContainer : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<'ContainerBuilder> * Action<'ContainerBuilder> -> unit
Sub ConfigureContainer(Of TContainerBuilder) (factory As IServiceProviderFactory(Of TContainerBuilder), configure As Action(Of TContainerBuilder)) Implements IHostApplicationBuilder.ConfigureContainer

Type Parameters

TContainerBuilder

Parameters

factory
IServiceProviderFactory<TContainerBuilder>
configure
Action<TContainerBuilder>

Implements

Applies to