public bool HasNext() { if (currentIndex_ < aggregate_.Count()) { return(true); } return(false); }
public bool MoveNext() { _currentIndex += 2; return(_currentIndex < _aggregate.Count()); }
public bool IsDone() { return(_current >= _aggregate.Count()); }
public TEntity MoveNext() { _current++; return(_current < _aggregate.Count() ? _aggregate[_current] : null); }
public object Next() => (_current < _aggregate.Count() - 1) ? _aggregate[++_current] : null;