InjectionTargetInfoParameter Property

Simple Injector
Gets the constructor argument 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 ParameterInfo Parameter { get; }

Property Value

Type: ParameterInfo
The ParameterInfo or null when the dependency is injected into a property.
See Also