Enum OperatorValueKind
- Namespace
- RuleWright.Serialization
- Assembly
- RuleWright.Serialization.dll
The shape of the comparison value a ConditionOperator expects — a hint
for authoring UIs deciding what kind of value editor (if any) to show.
public enum OperatorValueKind
Fields
None = 0No value is taken (
IsNull,IsNotNull).Scalar = 1A single scalar comparand (
Equalsand the ordering comparisons).Text = 2A string operand (
Contains,StartsWith,EndsWith,MatchesRegex).Array = 3A non-empty array of scalars (
In,NotIn).Custom = 4An optional value whose meaning is defined by a named function (
custom).Condition = 5No value at all, but a nested per-element
conditioninstead (Any,All,None). An authoring UI should offer a condition editor here, not a value editor.