コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: Iterator.cs プロジェクト: cyplo/mono
		private AncestorOrSelfIterator (AncestorOrSelfIterator other)
			: base (other, true)
		{
			startPosition = other.startPosition;
			if (other.navigators != null)
				navigators = (ArrayList) other.navigators.Clone ();
			currentPosition = other.currentPosition;
		}