DecoratorContextImplementationType Property

Simple Injector
Gets the type of the implementation that is created by the container and for which the decorator is about to be applied. The original implementation type will be returned, even if other decorators have already been applied to this type. Please note that the implementation type can not always be determined. In that case the closed generic service type will be returned.

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

public Type ImplementationType { get; }

Property Value

Type: Type
The implementation type.
See Also