ResultOfTValue Method
Evaluates expression and captures it's arguments.
Namespace: Fluent.Calculations.PrimitivesAssembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public static TValue Of<TValue>(
Expression<Func<TValue>> lambdaExpression,
string name = "NaN",
string lambdaExpressionBody = "NaN"
)
where TValue : class, new(), IValueProvider
- lambdaExpression ExpressionFuncTValue
- Expression to evaluate.
- name String (Optional)
- Name of resulting value, set by default to calling method or property name.
- lambdaExpressionBody String (Optional)
- Expression body, autmatically captured.
- TValue
- Type of result.
TValueEvaluation result.
Temporary EvaluationScope will be created to evaluate the expression.