Test additional content header

EvaluationScopeEvaluateTValue(ExpressionFuncTValue, String, String) Method

Evaluates an expression and captures it's arguments.

Definition

Namespace: Fluent.Calculations.Primitives
Assembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public TValue Evaluate<TValue>(
	Expression<Func<TValue>> lambdaExpression,
	string name = "NaN",
	string lambdaExpressionBody = "NaN"
)
where TValue : class, new(), IValueProvider

Parameters

lambdaExpression  ExpressionFuncTValue
Math or logic expression.
name  String  (Optional)
Result name (captured by the compiler by default).
lambdaExpressionBody  String  (Optional)
Expression body (captured by the compiler by default).

Type Parameters

TValue
Result value type.

Return Value

TValue
Lambda expression result containing arguments and expression body.

Implements

IEvaluationScopeEvaluateTValue(ExpressionFuncTValue, String, String)

Remarks

This is a primary method to define any intermediate calculations in your business logic.

See Also