Exemple #1
0
 public LookAheadEnumerator(IEnumerator <T> inner)
 {
     _inner = inner;
     _state = _NotStarted;
     _queue = new IndexedQueue <T>();
 }
 public Enumerator(IndexedQueue <T> outer)
 {
     _outer   = outer;
     _version = outer._version;
     _index   = _BeforeStart;
 }