SharpYaml Home
  1. Home
  2. Docs
  3. API
    1. NuGet
    2. GitHub
    Menu
    Loading menu…

    On this page

    1. Home
    2. API
    3. SharpYaml.Model
    4. YamlDocument

    YamlDocument Class

    Definition

    Namespace SharpYaml.Model
    Assembly SharpYaml.dll
    Inherits Object → YamlNode
    View source
    Show inherited members (14)
    • SharpYaml.Model.YamlNode.ReadElement(SharpYaml.EventReader, SharpYaml.Model.YamlNodeTracker?)
    • SharpYaml.Model.YamlNode.EnumerateEvents()
    • SharpYaml.Model.YamlNode.WriteTo(System.IO.TextWriter, System.Boolean)
    • SharpYaml.Model.YamlNode.WriteTo(SharpYaml.IEmitter, System.Boolean)
    • SharpYaml.Model.YamlNode.ToString()
    • SharpYaml.Model.YamlNode.ToObject<T>(SharpYaml.YamlSerializerOptions?)
    • SharpYaml.Model.YamlNode.ToObject(System.Type, SharpYaml.YamlSerializerOptions?)
    • SharpYaml.Model.YamlNode.FromObject(System.Object, SharpYaml.YamlSerializerOptions?, System.Type?)
    • System.Object.Equals(System.Object?)
    • System.Object.Equals(System.Object?, System.Object?)
    • System.Object.GetHashCode()
    • System.Object.GetType()
    • System.Object.MemberwiseClone()
    • System.Object.ReferenceEquals(System.Object?, System.Object?)

    Represents the Yaml Document.

    public class YamlDocument : YamlNode
    
    Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

    Constructors (1)

    YamlDocument()Initializes a new instance of this type.

    Properties (4)

    ContentsGets contents.
    DocumentEndGets document End.
    DocumentStartGets document Start.
    TrackerGets tracker.

    Methods (2)

    DeepClone(YamlNodeTracker?)Creates a deep clone of the current value.
    Load(EventReader, YamlNodeTracker?)Loads data.

    Copyright © 2026, Alexandre Mutel aka xoofx - Content licensed under the Creative Commons CC BY 2.5 | Site generated by lunet hosted on GitHub Pages