Test additional content header

OptionTSwitchTResult Method

Invokes Switch expression builder to be used in Evaluate() method of EvaluationScope.

Definition

Namespace: Fluent.Calculations.Primitives.BaseTypes
Assembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public SwitchExpressionT, TReturnSwitchBuilder Switch<TResult>()
where TResult : class, new(), IValueProvider

Type Parameters

TResult
Switch expression result value type.

Return Value

SwitchExpressionT, TReturnSwitchBuilder
Switch expression.

Remarks

Current Option will be used to check cases defined by builder.

See Also