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 not 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: 4.0.0
Syntax

public Type ImplementationType { get; }

Property Value

Type: Type
The implementation type.
See Also

Reference