private AncestorOrSelfIterator(AncestorOrSelfIterator other) : base(other, true) { this.startPosition = other.startPosition; if (other.navigators != null) { this.navigators = (ArrayList)other.navigators.Clone(); } this.currentPosition = other.currentPosition; }
private AncestorOrSelfIterator (AncestorOrSelfIterator other) : base (other, true) { startPosition = other.startPosition; if (other.navigators != null) navigators = (ArrayList) other.navigators.Clone (); currentPosition = other.currentPosition; }