WebApplicationBuilder.IHostApplicationBuilder.ConfigureContainer<TContainerBuilder> 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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>