FSharpx.Extras


QuotationEvaluator

Namespace: FSharpx.Linq

Static members

Static memberDescription
Compile(arg1)
Signature: Expr<'T> -> unit -> 'T
Type parameters: 'T

Compile the quotation expression by first converting to LINQ expression trees

Exceptions: InvalidArgumentException will be raised if the input expression is not in the subset that can be converted to a LINQ expression tree

CompileUntyped(arg1)
Signature: Expr -> unit -> obj

Compile the quotation expression by first converting to LINQ expression trees

Exceptions: InvalidArgumentException will be raised if the input expression is not in the subset that can be converted to a LINQ expression tree

Evaluate(arg1)
Signature: Expr<'T> -> 'T
Type parameters: 'T

Evaluate the quotation expression by first converting to LINQ expression trees

Exceptions: InvalidArgumentException will be raised if the input expression is not in the subset that can be converted to a LINQ expression tree

EvaluateUntyped(arg1)
Signature: Expr -> obj

Compile the quotation expression by first converting to LINQ expression trees

Exceptions: InvalidArgumentException will be raised if the input expression is not in the subset that can be converted to a LINQ expression tree

ToLinqExpression(arg1)
Signature: Expr -> Expression

Convert the quotation expression to LINQ expression trees

This operation will only succeed for a subset of quotation expressions.

Exceptions: InvalidArgumentException will be raised if the input expression is not in the subset that can be converted to a LINQ expression tree

Fork me on GitHub