Click or drag to resize

ExpressionCompiler Methods

The ExpressionCompiler type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCompileFast(ExpressionAction, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFast(LambdaExpression, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastTDelegate(ExpressionTDelegate, Boolean, CompilerFlags)
Compiles lambda expression to TDelegate type. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastT1(ExpressionActionT1, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastR(ExpressionFuncR, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastTDelegate(LambdaExpression, Boolean, CompilerFlags)
Compiles lambda expression to TDelegate type. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastT1, T2(ExpressionActionT1, T2, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastT1, R(ExpressionFuncT1, R, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastT1, T2, T3(ExpressionActionT1, T2, T3, Boolean, CompilerFlags)
Compiles lambda expression to delegate. Use ifFastFailedReturnNull parameter to Not fallback to Expression.Compile, useful for testing.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastT1, 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.
Public methodStatic memberCompileFastToIL
Compiles a static method to the passed IL Generator. Could be used as alternative for `CompileToMethod` like this
funcExpr.CompileFastToIL(methodBuilder.GetILGenerator())
. Check `IssueTests.Issue179_Add_something_like_LambdaExpression_CompileToMethod.cs` for example.
Public methodStatic memberCompileSys(LambdaExpression)
Unifies Compile for System.Linq.Expressions and FEC.LightExpression
Public methodStatic memberCompileSysTDelegate(ExpressionTDelegate)
Unifies Compile for System.Linq.Expressions and FEC.LightExpression
Public methodStatic memberIgnoresResult
Public methodStatic memberIsClosureBoundConstant
Public methodStatic memberTryCollectBoundConstants
Public methodStatic memberTryCompileTDelegate
Tries to compile lambda expression to TDelegate
Public methodStatic memberTryCompileWithoutClosureTDelegate
Tries to compile expression to "static" delegate, skipping the step of collecting the closure object.
Public methodStatic memberTryCompileWithPreCreatedClosureTDelegate(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
Public methodStatic memberTryCompileWithPreCreatedClosureTDelegate(LambdaExpression, ConstantExpression, CompilerFlags)
Tries to compile lambda expression to TDelegate with the provided closure object and constant expressions (or lack there of)
Top
See Also