public bool MoveNext()
 {
     collection.WaitForCompletion();
     if (enumerator == null)
     {
         enumerator = collection.list.GetEnumerator();
     }
     return(enumerator.MoveNext());
 }
Exemple #2
0
            public bool MoveNext()
            {
                _collection.WaitForCompletion();
                if (_enumerator == null)
                {
                    _enumerator = _collection._list.GetEnumerator();
                }

                return(_enumerator.MoveNext());
            }