Click or drag to resize

LightweightAdapterActivatorData Constructor

Initializes a new instance of the LightweightAdapterActivatorData class.

Namespace:  Autofac.Features.LightweightAdapters
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public LightweightAdapterActivatorData(
	Service fromService,
	Func<IComponentContext, IEnumerable<Parameter>, Object, Object> adapter
)

Parameters

fromService
Type: Autofac.CoreService
The service that will be adapted from.
adapter
Type: SystemFuncIComponentContext, IEnumerableParameter, Object, Object
The adapter function.
See Also