コード例 #1
0
        public HtmlBuilder AdicionarFilho(string nomeFilho, string textoFilho)
        {
            var filho = new ElementoHtml(nomeFilho, textoFilho);

            _elemento.Elementos.Add(filho);
            return(this);
        }
コード例 #2
0
        public void AdicionarFilho(string nomeFilho, string textoFilho)
        {
            var filho = new ElementoHtml(nomeFilho, textoFilho);

            _elemento.Elementos.Add(filho);
        }