![]() | ExpressionCompiler Methods |
The ExpressionCompiler type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CompileFast(ExpressionAction, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFast(LambdaExpression, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastTDelegate(ExpressionTDelegate, Boolean, CompilerFlags) | Compiles lambda expression to TDelegate type. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1(ExpressionActionT1, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastR(ExpressionFuncR, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastTDelegate(LambdaExpression, Boolean, CompilerFlags) | Compiles lambda expression to TDelegate type. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2(ExpressionActionT1, T2, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, R(ExpressionFuncT1, R, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3(ExpressionActionT1, T2, T3, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, R(ExpressionFuncT1, T2, R, Boolean, CompilerFlags) | Compiles lambda expression to TDelegate type. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, T4(ExpressionActionT1, T2, T3, T4, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, R(ExpressionFuncT1, T2, T3, R, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, T4, T5(ExpressionActionT1, T2, T3, T4, T5, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, T4, R(ExpressionFuncT1, T2, T3, T4, R, Boolean, CompilerFlags) | Compiles lambda expression to TDelegate type. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, T4, T5, T6(ExpressionActionT1, T2, T3, T4, T5, T6, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, T4, T5, R(ExpressionFuncT1, T2, T3, T4, T5, R, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastT1, T2, T3, T4, T5, T6, R(ExpressionFuncT1, T2, T3, T4, T5, T6, R, Boolean, CompilerFlags) | Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing. |
![]() ![]() | CompileFastToIL | Compiles a static method to the passed IL Generator.
Could be used as alternative for `CompileToMethod` like this funcExpr.CompileFastToIL(methodBuilder.GetILGenerator()) |
![]() ![]() | CompileSys(LambdaExpression) | Unifies Compile for System.Linq.Expressions and FEC.LightExpression |
![]() ![]() | CompileSysTDelegate(ExpressionTDelegate) | Unifies Compile for System.Linq.Expressions and FEC.LightExpression |
![]() ![]() | IgnoresResult | |
![]() ![]() | IsClosureBoundConstant | |
![]() ![]() | TryCollectBoundConstants | |
![]() ![]() | TryCompileTDelegate | Tries to compile lambda expression to TDelegate |
![]() ![]() | TryCompileWithoutClosureTDelegate | Tries to compile expression to "static" delegate, skipping the step of collecting the closure object. |
![]() ![]() | TryCompileWithPreCreatedClosureTDelegate(LambdaExpression, ConstantExpression) | Tries to compile lambda expression to TDelegate
with the provided closure object and constant expressions (or lack there of) -
Constant expression should be the in order of Fields in closure object!
Note 1: Use it on your own risk - FEC won't verify the expression is compile-able with passed closure, it is up to you!
Note 2: The expression with NESTED LAMBDA IS NOT SUPPORTED!
Note 3: `Label` and `GoTo` are not supported in this case, because they need first round to collect out-of-order labels |
![]() ![]() | TryCompileWithPreCreatedClosureTDelegate(LambdaExpression, ConstantExpression, CompilerFlags) | Tries to compile lambda expression to TDelegate
with the provided closure object and constant expressions (or lack there of) |