Click or drag to resize

ConstantParameter Constructor

Initializes a new instance of the ConstantParameter class.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
protected ConstantParameter(
	Object value,
	Predicate<ParameterInfo> predicate
)

Parameters

value
Type: SystemObject
The constant parameter value.
predicate
Type: SystemPredicateParameterInfo
A predicate used to locate the parameter that should be populated by the constant.
See Also