IEvaluationScopeEvaluateTValue(ExpressionFuncTValue, String, String) Method
Evaluates an expression and captures it's arguments.
Namespace: Fluent.Calculations.PrimitivesAssembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
TValue Evaluate<TValue>(
Expression<Func<TValue>> lambdaExpression,
string name = "NaN",
string lambdaExpressionBody = "NaN"
)
where TValue : class, new(), IValueProvider
- 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).
- TValue
- Result value type.
TValueLambda expression result containing arguments and expression body.
This is a primary method to define any intermediate calculations in your business logic.