Enum RuleFunctionValueKind
- Namespace
- RuleWright.Core
- Assembly
- RuleWright.Core.dll
A coarse hint about the shape of the value operand a custom IRuleFunction
expects, when it opts into IRuleFunctionMetadata. Purely descriptive — the engine
never validates against it; it exists so a rule-authoring UI can choose an appropriate value
editor for the custom operator.
public enum RuleFunctionValueKind
Fields
Unspecified = 0No metadata was supplied; the expected shape is unknown.
None = 1The function ignores
value— only the field matters.Scalar = 2A single scalar (number, string, or boolean).
Array = 3An array of values, e.g. the
[min, max]pair for a range check.Text = 4A single string value.