RegistrationBuildTransientExpression Method

Simple Injector
Builds an Expression that describes the creation of ImplementationType. The returned Expression might be intercepted by a Container.ExpressionBuilding event, and the creation of the ImplementationType will have been wrapped with a delegate that executes the registered initializers that are applicable to the InstanceProducer's ServiceType (if any).

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

protected Expression BuildTransientExpression()

Return Value

Type: Expression
An Expression.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when one of the arguments is a null reference.
See Also

Reference