ContainerProvider Constructor (IContainer, ActionContainerBuilder) |
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
)
Public Sub New (
applicationContainer As IContainer,
requestLifetimeConfiguration As Action(Of ContainerBuilder)
)
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