RegistrationBuildTransientExpression Method

Simple Injector
Overload List

  NameDescription
Protected methodBuildTransientExpression
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).
Protected methodBuildTransientExpressionTService(FuncTService)
Builds an Expression that describes the creation of the TService using the supplied instanceCreator. The returned Expression might be intercepted by a Container.ExpressionBuilding event, and the instanceCreator will have been wrapped with a delegate that executes the registered initializers that are applicable to the given TService (if any).
Top
See Also

Reference