AutofacWebApiDependencyResolver Constructor (ILifetimeScope, ActionContainerBuilder) |
Namespace:
Autofac.Integration.WebApi
Assembly:
Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax public AutofacWebApiDependencyResolver(
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
A configuration action that will execute during lifetime scope creation.
See Also