Class Compilation
Contains LINQ expression compilation options.
public static class Compilation
- Inheritance
-
Compilation
Methods
CompileExpression(LambdaExpression)
Internal API.
public static Delegate CompileExpression(this LambdaExpression expression)
Parameters
expression
LambdaExpression
Returns
CompileExpression<TDelegate>(Expression<TDelegate>)
Internal API.
public static TDelegate CompileExpression<TDelegate>(this Expression<TDelegate> expression) where TDelegate : Delegate
Parameters
expression
Expression<TDelegate>
Returns
- TDelegate
Type Parameters
TDelegate
SetExpressionCompiler(Func<LambdaExpression, Delegate?>?)
Sets LINQ expression compilation method.
public static void SetExpressionCompiler(Func<LambdaExpression, Delegate?>? compiler)
Parameters
compiler
Func<LambdaExpression, Delegate>Method to use for expression compilation or
null
to reset compilation logic to defaults.