Click or drag to resize

ResolvedParameter Constructor

Initializes a new instance of the ResolvedParameter class.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public ResolvedParameter(
	Func<ParameterInfo, IComponentContext, bool> predicate,
	Func<ParameterInfo, IComponentContext, Object> valueAccessor
)

Parameters

predicate
Type: SystemFuncParameterInfo, IComponentContext, Boolean
A predicate that determines which parameters on a constructor will be supplied by this instance.
valueAccessor
Type: SystemFuncParameterInfo, IComponentContext, Object
A function that supplies the parameter value given the context.
See Also