YamlCollectionStyle enum
The style Utf8YamlWriter.WriteCollectionStyle requests for the next collection a block-style writer starts.
Namespace: System.Text.Yaml ยท Assembly: Styml.dll
public enum YamlCollectionStyle : byte
The style Utf8YamlWriter.WriteCollectionStyle requests for the next collection a block-style writer starts.
FieldsLink to this heading
| Name | Value | Description |
|---|---|---|
Block |
0 | A block collection: one entry per line (- a, key: value). The default. |
Flow |
1 | A flow collection on one line ([a, b], {key: value}). Everything inside a flow collection is flow. |