public static class AutofacConfigExtension
<ExtensionAttribute>
Public NotInheritable Class AutofacConfigExtension
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type AutofacConfigExtension = class end
ConfigureContainer | 配置容器。 |
UseAutofacContainer(TouchSocketConfig) | 使用AutofacContainer作为容器。 |
UseAutofacContainer(TouchSocketConfig, ContainerBuilder) |
使用AutofacContainer作为容器。
注意:使用此方法,在构建组件时,内部会自行调用Build(ContainerBuildOptions). |
UseAutofacContainer(TouchSocketConfig, IContainer) |
使用AutofacContainer作为容器。
注意:使用此方法,在构建组件时,内部会直接使用解决器,不再调用Build(ContainerBuildOptions). |