/// <summary> /// Sets the current iterator position to a previous position returned by GetCurrentPosition. /// After a call to this method, GetNextToken returns the token FOLLOWING the current position. /// </summary> public void SeekToPosition(object iteratorPosition) { // Restore iterators positions currentPosition = (ReplaceTokensLinesIteratorPosition)iteratorPosition; sourceIterator.SeekToPosition(currentPosition.SourceIteratorPosition); }