IPropertySelectorInjectProperty Method |
Provides filtering to determine if property should be injected.
Namespace:
Autofac.Core
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax bool InjectProperty(
PropertyInfo propertyInfo,
Object instance
)
Function InjectProperty (
propertyInfo As PropertyInfo,
instance As Object
) As Boolean
Parameters
- propertyInfo
- Type: System.ReflectionPropertyInfo
Property to be injected. - instance
- Type: SystemObject
Instance that has the property to be injected.
Return Value
Type:
BooleanWhether property should be injected.
See Also