METHOD

Expression.Compile

Compiles a typed lambda tree into a delegate for local invocation.

Formal Syntax & Structure

csharp syntaxcsharp
var predicate = rule.Compile();

Working Example

Example Snippetcsharp
// Documentary fragment; supply surrounding declarations as needed.var predicate = rule.Compile();
C# & .NET Reference