IExpressionCompilationBehaviorCompile Method

Simple Injector
Compiles the supplied expression to a delegate.

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

Delegate Compile(
	Expression expression
)

Parameters

expression
Type: System.Linq.ExpressionsExpression
The expression to compile.

Return Value

Type: Delegate
A Delegate.
See Also

Reference