Exemple #1
0
 public void Clear()
 {
     root = new HtmlElement {
         Name = rootName
     };
 }
Exemple #2
0
        // not fluent
        public void AddChild(string childName, string childText)
        {
            var e = new HtmlElement(childName, childText);

            root.Elements.Add(e);
        }