public class Option<T> : Value, IEqualityOperators<Option<T>, Option<T>, Condition>
where T : struct, new()
| Expression | Metadata of expression that yielded this value. (Inherited from Value) |
| Name | Name of value (Inherited from Value) |
| Origin | Origin type of the value. (Inherited from Value) |
| Primitive | Numeric primitive representation of the value. (Inherited from Value) |
| PrimitiveString | Formatted string representation of the Option Enum value (Overrides ValuePrimitiveString) |
| Scope | Named scope that this value is part of (Inherited from Value) |
| Tags | Custom tags associated with the value. (Inherited from Value) |
| Type | Original type of the value implementation. (Inherited from Value) |
| Equals(IValueProvider) |
Determines whether two Values are equal based on underlying primitive value.
(Inherited from Value) |
| Equals(Object) | Determines whether two Values are equal based on underlying primitive value. (Overrides ValueEquals(Object)) |
| GetHashCode | Serves as the default hash function, returns hash of the Primitive property value. This function is a subject to future change. (Overrides ValueGetHashCode) |
| HandleBinaryOperationResultType, ResultPrimitiveType |
Handles math and comparison operations of underlying primitve values in derived types.
(Inherited from Value) |
| MakeDefault | Initializes a new instance with default values, equivalent to zero/null value. (Overrides ValueMakeDefault) |
| MakeOfThisType | Initializes a new instance of the Option class. (Overrides ValueMakeOfThisType(MakeValueArgs)) |
| SwitchTResult | Invokes Switch expression builder to be used in Evaluate() method of EvaluationScope. |
| ToString | Returns a string that represents the current value. (Inherited from Value) |
| Equality(OptionT, OptionT) | Compares two Options to determine equality. |
| (T to OptionT) | Makes an implicit conversion from the Enum type to Option. |
| (OptionT to T) | Makes an implicit conversion from the Option to its underlying Enum type. |
| Inequality(OptionT, OptionT) | Compares two Options to determine inequality. |