InstanceProducerBuildExpression Method

Simple Injector
Builds an expression that expresses the intent to get an instance by the current producer. A call to this method locks the container. New registrations can't be made after a call to this method.

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

public Expression BuildExpression()

Return Value

Type: Expression
An Expression.
See Also