public HtmlNodeNavigator(Stream stream, Encoding encoding)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this._doc.Load(stream, encoding);
     this.Reset();
 }
 public HtmlNodeNavigator(string path, bool detectEncodingFromByteOrderMarks)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this._doc.Load(path, detectEncodingFromByteOrderMarks);
     this.Reset();
 }
 public HtmlNodeNavigator(string path)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this._doc.Load(path);
     this.Reset();
 }
 public HtmlNodeNavigator(TextReader reader)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this._doc.Load(reader);
     this.Reset();
 }
 public HtmlNodeNavigator(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int buffersize)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this._doc.Load(path, encoding, detectEncodingFromByteOrderMarks, buffersize);
     this.Reset();
 }
 public HtmlNodeNavigator(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this._doc.Load(stream, encoding, detectEncodingFromByteOrderMarks);
     this.Reset();
 }
 private HtmlNodeNavigator(HtmlNodeNavigator nav)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     if (nav == null)
     {
         throw new ArgumentNullException("nav");
     }
     this._doc         = nav._doc;
     this._currentnode = nav._currentnode;
     this._attindex    = nav._attindex;
     this._nametable   = nav._nametable;
 }
 internal HtmlNodeNavigator(HtmlDocument doc, HtmlNode currentNode)
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     if (currentNode == null)
     {
         throw new ArgumentNullException("currentNode");
     }
     if (currentNode.OwnerDocument != doc)
     {
         throw new ArgumentException("Reference node must be a child of this node");
     }
     this._doc = doc;
     this.Reset();
     this._currentnode = currentNode;
 }
 // Methods
 internal HtmlNodeNavigator()
 {
     this._doc       = new HtmlDocument();
     this._nametable = new HtmlNameTable();
     this.Reset();
 }