示例#1
0
 public HTMLElement(HTMLElement parent, string name) : base(parent)
 {
     this.name        = name;
     this._childNodes = new Gen::List <HTMLNode>();
     this._attributes = new HTMLAttributeCollection(this.parent);
 }
示例#2
0
 public HTMLElement()
 {
     _childNodes = new HTMLNodeList(this);
     _attributes = new HTMLAttributeCollection(this.parent);
 }