ExpressionBuiltEventArgs Constructor

Simple Injector

Note: This API is now obsolete.

Initializes a new instance of the ExpressionBuiltEventArgs class.

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

[ObsoleteAttribute("Don't create instances. Instances of this type are created by Simple Injector. Will be removed in version 5.0.", 
	true)]
public ExpressionBuiltEventArgs(
	Type registeredServiceType,
	Expression expression
)

Parameters

registeredServiceType
Type: SystemType
Type of the registered service.
expression
Type: System.Linq.ExpressionsExpression
The registered expression.
See Also

Reference