SwitchExpressionT, TReturn Class
Provides support of swithc/case logic building using fluent builder pattern.
Namespace: Fluent.Calculations.PrimitivesAssembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public static class SwitchExpression<T, TReturn>
where T : struct, new()
where TReturn : class, new(), IValueProvider
- Inheritance
- Object SwitchExpressionT, TReturn
Type Parameters
- T
- Type of condition
- TReturn
- Result type
Use the funtionality provided by this builder instead of native swithc/case statements as it's not supported in Expressions.
For | Specifies option variable to check. |