ExpressionBuildingEventArgsKnownImplementationType Property

Simple Injector
Gets the type that is known to be returned by the Expression (most often the implementation type used in the Register call). This type will be a derivative of RegisteredServiceType (or or RegisteredServiceType itself). If the Expression is changed, the new expression must also return an instance of type KnownImplementationType or a sub type. This information must be described in the new Expression.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 4.0.0
Syntax

public Type KnownImplementationType { get; }

Property Value

Type: Type
A Type.
See Also

Reference