InjectionTargetInfoProperty Property

Simple Injector
Gets the property of the consumer of the component where the dependency will be injected into. The property can return null.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.3.0

public PropertyInfo Property { get; }

Property Value

Type: PropertyInfo
The PropertyInfo or null when the dependency is injected into a constructor argument instead.
See Also