protected SimpleIterator(SimpleIterator other, bool clone) : base(other) { if (other._nav != null) { _nav = clone ? other._nav.Clone() : other._nav; } skipfirst = other.skipfirst; }
private AxisIterator(AxisIterator other) : base(other) { _iter = (SimpleIterator)other._iter.Clone(); _test = other._test; //name = other.name; //ns = other.ns; //matchType = other.matchType; }
protected SimpleIterator(SimpleIterator other, bool clone) : base(other) { if (other._nav != null) { this._nav = ((!clone) ? other._nav : other._nav.Clone()); } this.skipfirst = other.skipfirst; }
//string name, ns; //XPathNodeType matchType; public AxisIterator(SimpleIterator iter, NodeTest test) : base(iter.NamespaceManager) { _iter = iter; _test = test; //test.GetInfo (out name, out ns, out matchType, NamespaceManager); // if (name != null) // name = Current.NameTable.Add (name); // if (ns != null) // ns = Current.NameTable.Add (ns); }
protected SimpleIterator (SimpleIterator other, bool clone) : base (other) { if (other._nav != null) _nav = clone ? other._nav.Clone () : other._nav; skipfirst = other.skipfirst; }
protected SimpleIterator(SimpleIterator other, bool clone) : base(other) { _nav = other._nav.Clone(); }