WebApplicationBuilder.IHostApplicationBuilder.ConfigureContainer<TContainerBuilder> 方法

定义

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

类型参数

TContainerBuilder

参数

factory
IServiceProviderFactory<TContainerBuilder>
configure
Action<TContainerBuilder>

实现

适用于