Click or drag to resize

AutofacServiceLocator Constructor

Initializes a new instance of the AutofacServiceLocator class.

Namespace:  Autofac.Extras.CommonServiceLocator
Assembly:  Autofac.Extras.CommonServiceLocator (in Autofac.Extras.CommonServiceLocator.dll) Version: 6.0.1+cbf7aec014129cc35f41fd7c7acb740dd2515df2
Syntax
public AutofacServiceLocator(
	IComponentContext container
)

Parameters

container
Type: AutofacIComponentContext
The IComponentContext from which services should be located.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if container is .
See Also