共用方式為


IExtensionConfigProvider.Initialize 方法

定義

初始化延伸模組。

public void Initialize (System.Web.Http.HttpConfiguration config, Autofac.ContainerBuilder containerBuilder);
abstract member Initialize : System.Web.Http.HttpConfiguration * Autofac.ContainerBuilder -> unit
Public Sub Initialize (config As HttpConfiguration, containerBuilder As ContainerBuilder)

參數

config
System.Web.Http.HttpConfiguration

System.Web.Http.HttpConfiguration

containerBuilder
Autofac.ContainerBuilder

用於相依性解析的 Autofac Autofac.ContainerBuilder

適用於