Click or drag to resize

AutofacWebApiDependencyResolver Constructor (ILifetimeScope, ActionContainerBuilder)

Initializes a new instance of the AutofacWebApiDependencyResolver class.

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
)

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