ResolvedParameter Constructor |
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
)
Public Sub New (
predicate As Func(Of ParameterInfo, IComponentContext, Boolean),
valueAccessor As Func(Of ParameterInfo, IComponentContext, Object)
)
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