Exemple #1
0
        YamlDocument(DocumentStart documentStart, DocumentEnd documentEnd, YamlElement contents, YamlNodeTracker tracker)
        {
            Tracker = tracker;

            DocumentStart = documentStart;
            DocumentEnd   = documentEnd;
            Contents      = contents;
        }
Exemple #2
0
 public YamlDocument()
 {
     _documentStart = new DocumentStart(null, new TagDirectiveCollection(), true);
     _documentEnd   = new DocumentEnd(true);
 }