YamlSequenceItemStyle Enum

Specifies how a nested block collection is emitted when it appears as an item in a block sequence.

public enum YamlSequenceItemStyle

Fields

NameValueDescription
Default0Use the current serializer default for the nested collection kind.
Expanded1Emit the nested collection on lines following the sequence dash.
Compact2Emit the nested collection's first item on the same line as the sequence dash when possible.