Click or drag to resize

ContainerProvider Constructor (IContainer, ActionContainerBuilder)

Initializes a new instance of the ContainerProvider class.

Namespace:  Autofac.Integration.Web
Assembly:  Autofac.Integration.Web (in Autofac.Integration.Web.dll) Version: 6.0.0+0b24e3a20aaeba340141e7205a9b7643b9d6cc54
Syntax
public ContainerProvider(
	IContainer applicationContainer,
	Action<ContainerBuilder> requestLifetimeConfiguration
)

Parameters

applicationContainer
Type: AutofacIContainer
The application container.
requestLifetimeConfiguration
Type: SystemActionContainerBuilder
An action that will be executed when building the per-request lifetime. The components visible within the request can be customised here.
See Also