Gets the given implementationType's constructor that can be used by the
container to create that instance.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 4.10.2
Syntax
Parameters
- implementationType
- Type: SystemType
Type of the implementation to find a suitable constructor for.
Return Value
Type: ConstructorInfoThe ConstructorInfo. This method never returns null.
Exceptions
Exception | Condition |
---|---|
ActivationException | Thrown when no suitable constructor could be found. |
See Also