YamlValue Class
Represents the Yaml Value.
public class YamlValue : YamlElement- Inheritance
YamlElementYamlValue
Constructors
| Name | Description |
|---|---|
| YamlValue(object, IYamlSchema?) | Initializes a new instance of this type. |
YamlValue(object, IYamlSchema?)
YamlValue.csInitializes a new instance of this type.
public YamlValue(object value, IYamlSchema? schema = null)Parameters
valueobjectschemaIYamlSchema?
Properties
| Name | Description |
|---|---|
| Anchor | Gets anchor. |
| IsCanonical | Gets a value indicating whether is Canonical. |
| IsPlainImplicit | Gets a value indicating whether is Plain Implicit. |
| IsQuotedImplicit | Gets a value indicating whether is Quoted Implicit. |
| Scalar | Gets or sets the scalar event represented by this YAML value, including source location marks. |
| Style | Gets style. |
| Tag | Gets tag. |
| Value | Gets value. |
Anchor
YamlValue.csIsCanonical
YamlValue.csIsPlainImplicit
YamlValue.csIsQuotedImplicit
YamlValue.csScalar
YamlValue.csGets or sets the scalar event represented by this YAML value, including source location marks.
public Scalar Scalar { get; set; }Style
YamlValue.csTag
YamlValue.csValue
YamlValue.csMethods
| Name | Description |
|---|---|
| DeepClone() | Creates a deep clone of the current value. |
| Load(EventReader) | Loads data. |
DeepClone()
YamlValue.csLoad(EventReader)
YamlValue.csLoads data.
public static YamlValue Load(EventReader eventReader)