Click or drag to resize

IModuleRegistrarRegisterModule Method

Add a module to the container.

Namespace:  Autofac.Core.Registration
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
IModuleRegistrar RegisterModule(
	IModule module
)

Parameters

module
Type: Autofac.CoreIModule
The module to add.

Return Value

Type: IModuleRegistrar
The IModuleRegistrar to allow additional chained module registrations.
See Also