FSharp.Quotations.Evaluator


QuotationEvaluator

Namespace: FSharp.Quotations.Evaluator
Attributes:
[<Sealed>]

Static members

Static memberDescription
QuotationEvaluator.Compile(arg1)
Signature: Expr<'T> -> 'T
Type parameters: 'T Attributes:
[<Obsolete("Use Evaluate")>]
WARNING: This API is obsolete

Use Evaluate

Compile the quotation expression by first converting to LINQ expression trees The expression is currently always compiled.

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

QuotationEvaluator.CompileUntyped(arg1)
Signature: Expr -> obj

Compile the quotation expression by first converting to LINQ expression trees The expression is currently always compiled.

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

QuotationEvaluator.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

QuotationEvaluator.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

QuotationEvaluator.ToLinqExpression(...)
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

F# Project
Fork me on GitHub