public HtmlBuilderElement AddElement(string name)
        {
            HtmlBuilderElement element = new HtmlBuilderElement(name);
            _elements.Add(element);

            return element;
        }
Esempio n. 2
0
 public HtmlBuilder(string rootElementName)
 {
     _rootElement = new HtmlBuilderElement(rootElementName);
 }