Qit


Expression Module

Provides utilities for working with System.Linq.Expressions.

Functions and values

Function or value Description

evaluate expression

Full Usage: evaluate expression

Parameters:
    expression : Expression - The System.Linq.Expressions.Expression to evaluate.

Returns: obj The result of the evaluated expression.

Evaluates a given System.Linq.Expressions.Expression. If the expression is a LambdaExpression, it compiles and invokes it directly. If the expression is not a LambdaExpression, it wraps the expression in a LambdaExpression with no parameters, compiles and invokes it.

expression : Expression

The System.Linq.Expressions.Expression to evaluate.

Returns: obj

The result of the evaluated expression.