Click or drag to resize

AutofacInstanceProvider Constructor

Initializes a new instance of the AutofacInstanceProvider class.

Namespace:  Autofac.Integration.Wcf
Assembly:  Autofac.Integration.Wcf (in Autofac.Integration.Wcf.dll) Version: 6.0.0+691de191498a27e1db2c331d318e19150e41288c
Syntax
public AutofacInstanceProvider(
	ILifetimeScope rootLifetimeScope,
	ServiceImplementationData serviceData
)

Parameters

rootLifetimeScope
Type: AutofacILifetimeScope
The lifetime scope from which service instances should be resolved.
serviceData
Type: Autofac.Integration.WcfServiceImplementationData
Data object containing information about how to resolve the service implementation instance.
Exceptions
ExceptionCondition
ArgumentNullException Thrown if rootLifetimeScope or serviceData is .
See Also