Class ExpressionEvaluationPolicyExtensions
Extensions methods for the expression options interface.
Inheritance
System.Object
ExpressionEvaluationPolicyExtensions
Namespace: Reaqtive.Expressions
Assembly: Reaqtive.Quotation.dll
Syntax
public static class ExpressionEvaluationPolicyExtensions : Object
Methods
Evaluate<T>(IExpressionEvaluationPolicy, Expression)
Evaluates the expression using the given expression policy.
Declaration
public static T Evaluate<T>(this IExpressionEvaluationPolicy policy, Expression expression)
Parameters
Type | Name | Description |
---|---|---|
IExpressionEvaluationPolicy | policy | The expression policy. |
System.Linq.Expressions.Expression | expression | The expression. |
Returns
Type | Description |
---|---|
T | The result of evaluating the expression with the given policy. |
Type Parameters
Name | Description |
---|---|
T | The expected result type. |