Test additional content header

EvaluationOptionsAlwaysReadNamesFromExpressions Property

Instructs EvaluationScope to read argument names from Expression Tree.

Definition

Namespace: Fluent.Calculations.Primitives
Assembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public bool AlwaysReadNamesFromExpressions { get; init; }

Property Value

Boolean
true: read names from expressions, false: keep default behaviour.

Remarks

By default, when evaluations are implemented as methods or properties, name will be captured at compile time. When using local variables without providing custom name, enable this option to read arguemnt names from Expressions.

See Also