AutofacDependencyResolver Constructor (ILifetimeScope, ActionContainerBuilder) |
Namespace:
Autofac.Integration.Mvc
Assembly:
Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax public AutofacDependencyResolver(
ILifetimeScope container,
Action<ContainerBuilder> configurationAction
)
Public Sub New (
container As ILifetimeScope,
configurationAction As Action(Of ContainerBuilder)
)
Parameters
- container
- Type: AutofacILifetimeScope
The container that nested lifetime scopes will be create from. - configurationAction
- Type: SystemActionContainerBuilder
Action on a ContainerBuilder
that adds component registations visible only in nested lifetime scopes.
See Also