/// <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; }
/// <summary> /// This constructor is used by the subclasses. /// </summary> protected HtmlNode() { _parent = null; }