YamlMappingOrder enum

The order in which the serializer writes an object's members (YamlSerializerOptions.MappingOrder), as SharpYaml's MappingOrder.

Namespace: System.Text.Yaml.Serialization ยท Assembly: Styml.dll

public enum YamlMappingOrder

The order in which the serializer writes an object's members (YamlSerializerOptions.MappingOrder), as SharpYaml's MappingOrder.

FieldsLink to this heading

Name Value Description
Declaration 0 The members' declaration order, as arranged by YamlPropertyOrderAttribute. The default.
Sorted 1 By YamlPropertyOrderAttribute's order, then by the written name, ordinal. The extension data's entries follow the members, sorted among themselves; a type discriminator stays first. Dictionaries keep their own order. Reading is unaffected.

Generated from the XML documentation of the libraryBuilt with Douze

Esc to close