コード例 #1
0
 public HtmlTag WithChild(string name)
 {
     var child = new HtmlTag(name, this);
     _childs.Add(child);
     return child;
 }
コード例 #2
0
 internal HtmlAttribute(string name, HtmlTag owner)
 {
     _name = SafeAttributeName(name);
     _owner = owner;
     _value = string.Empty;
 }
コード例 #3
0
 private HtmlTag(string name, HtmlTag parent)
     : this(name)
 {
     _parent = parent;
 }