DecoratorPredicateContextServiceType Property

Simple Injector
Gets the closed generic service type for which the decorator is about to be applied. The original service type will be returned, even if other decorators have already been applied to this type.

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

public Type ServiceType { get; }

Property Value

Type: Type
The closed generic service type.
See Also