YamlPropertyOrderAttribute Class
Specifies the emitted order for a serialized member.
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public sealed class YamlPropertyOrderAttribute : YamlAttribute- Inheritance
YamlAttributeYamlPropertyOrderAttribute
Constructors
| Name | Description |
|---|---|
| YamlPropertyOrderAttribute(int) | Initializes a new instance of the YamlPropertyOrderAttribute class. |
YamlPropertyOrderAttribute(int)
YamlPropertyOrderAttribute.csInitializes a new instance of the YamlPropertyOrderAttribute class.
public YamlPropertyOrderAttribute(int order)Parameters
orderint- The order value.
Properties
| Name | Description |
|---|---|
| Order | Gets the order value. |