Click or drag to resize

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
)

Parameters

propertyInfo
Type: System.ReflectionPropertyInfo
Property to be injected.
instance
Type: SystemObject
Instance that has the property to be injected.

Return Value

Type: Boolean
Whether property should be injected.
See Also