YamlScalarStyle enum
The presentation style of the scalar (or mapping key) that produced the current Utf8YamlReader token.
Namespace: System.Text.Yaml ยท Assembly: Styml.dll
public enum YamlScalarStyle : byte
The presentation style of the scalar (or mapping key) that produced the current Utf8YamlReader token.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
None |
0 | The token is not a scalar. |
Plain |
1 | A plain (unquoted) scalar, including an empty node. |
SingleQuoted |
2 | A single-quoted scalar ('text'). |
DoubleQuoted |
3 | A double-quoted scalar ("text"). |
Literal |
4 | A literal block scalar (\|). |
Folded |
5 | A folded block scalar (>). |