예제 #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;