Determines whether a property should be injected by the container upon creation of its type.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Parameters
- implementationType
- Type: SystemType
The type being created for which the property should be injected. Note that this might a different type than the type on which the property is declared (which might be a base class). - propertyInfo
- Type: System.ReflectionPropertyInfo
The property to check.
Return Value
Type: BooleanTrue when the property should be injected.
See Also