ResultOfWithScopeTValue Method
Provides methods to execute simple ad-hoc calculations.
Namespace: Fluent.Calculations.PrimitivesAssembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public static TValue OfWithScope<TValue>(
Expression<Func<TValue>> lambdaExpression,
string scopeName,
string name = "NaN",
string lambdaExpressionBody = "NaN"
)
where TValue : class, new(), IValueProvider
- lambdaExpression ExpressionFuncTValue
- Expression to evaluate.
- scopeName String
- Scope name, by default calling method name will be captured.
- 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.