Enum SettingKind
- Namespace
- IntentSharp.Guardrails
- Assembly
- IntentSharp.dll
The kind of value a setting takes, which decides the values it accepts.
public enum SettingKind
- Extension Methods
Fields
Boolean = 2JSON true or false.
Count = 0A whole number of zero or more, written as a JSON number;
"unlimited"where the setting allows it.Duration = 1A length of time, written as text in
hh:mm:ss(with optional days and fractions) or ISO 8601 such asPT30S, never as a bare number;"unlimited"where the setting allows it. A positive value under one second is taken as written.Other = 4Any JSON value other than null; the value is not checked further.
Text = 3Text, limited to the setting's allowed values when it lists them.