// not fluent
        public void AddChild(string childName, string childText)
        {
            var e = new HtmlElement(childName, childText);

            root.Elements.Add(e);
        }
 public void Clear()
 {
     root = new HtmlElement {
         Name = rootName
     };
 }
Пример #3
0
        public void AddChild(string childName, string childText, bool isClosed = false)
        {
            var e = new HtmlElement(childName, childText, isClosed);

            root.HtmlElements.Add(e);
        }