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
expressionLambdaExpression
Returns
CompileExpression<TDelegate>(Expression<TDelegate>)
Internal API.
public static TDelegate CompileExpression<TDelegate>(this Expression<TDelegate> expression) where TDelegate : Delegate
Parameters
expressionExpression<TDelegate>
Returns
- TDelegate
Type Parameters
TDelegate
SetExpressionCompiler(Func<LambdaExpression, Delegate?>?)
Sets LINQ expression compilation method.
public static void SetExpressionCompiler(Func<LambdaExpression, Delegate?>? compiler)
Parameters
compilerFunc<LambdaExpression, Delegate>Method to use for expression compilation or
nullto reset compilation logic to defaults.