YamlBlockSequenceItemStyleAttribute Class

Definition

Assembly SharpYaml.dll
Inherits ObjectAttributeYamlAttribute
Show inherited members (42)

Overrides how nested block collections are emitted for items in block sequences written by the attributed member.

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public sealed class YamlBlockSequenceItemStyleAttribute : YamlAttribute

Remarks

Apply this attribute to a property or field whose value may contain block sequences. The override is scoped to the serialization of that member value and affects nested mappings and sequences encountered below it.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (2)

Properties (2)