Click or drag to resize

AutofacWebTypesModuleLoad Method

Registers web abstractions with dependency injection.

Namespace:  Autofac.Integration.Mvc
Assembly:  Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax
protected override void Load(
	ContainerBuilder builder
)

Parameters

builder
Type: AutofacContainerBuilder
The ContainerBuilder in which registration should take place.
Remarks

This method registers mappings between common current context-related web constructs and their associated abstract counterparts. See AutofacWebTypesModule for the complete list of mappings that get registered.

See Also