Пример #1
0
 public bool HasNext()
 {
     if (currentIndex_ < aggregate_.Count())
     {
         return(true);
     }
     return(false);
 }
Пример #2
0
 public bool MoveNext()
 {
     _currentIndex += 2;
     return(_currentIndex < _aggregate.Count());
 }
Пример #3
0
 public bool IsDone()
 {
     return(_current >= _aggregate.Count());
 }
Пример #4
0
 public TEntity MoveNext()
 {
     _current++;
     return(_current < _aggregate.Count() ? _aggregate[_current] : null);
 }
Пример #5
0
 public object Next() => (_current < _aggregate.Count() - 1) ? _aggregate[++_current] : null;