Interface IConstantHoister
Interface for facilities that hoist constants out of an expression tree into an environment.
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public interface IConstantHoister
Methods
Hoist(Expression)
Hoists constants in the specified expression and returns an environment.
Declaration
IExpressionWithEnvironment Hoist(Expression expression)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Linq.Expressions.Expression | expression | Expression to hoist constants in. |
Returns
| Type | Description |
|---|---|
| IExpressionWithEnvironment | Expression bound by an environment consisting of the hoisted constants. |