예제 #1
0
 /// <summary>
 /// Internal method to maintain the identity of the parent node.
 /// </summary>
 /// <param name="parentNode">The parent node of this one</param>
 internal void SetParent(HtmlElement parentNode)
 {
     _parent = parentNode;
 }
예제 #2
0
 /// <summary>
 /// This constructor is used by the subclasses.
 /// </summary>
 protected HtmlNode()
 {
     _parent = null;
 }