Exemplo n.º 1
0
 public IEnumerator <Row> GetEnumerator()
 {
     while (!IsExhausted())
     {
         Row row = null;
         while (RowQueue.TryDequeue(out row))
         {
             yield return(row);
         }
     }
 }
Exemplo n.º 2
0
 public virtual IEnumerator <Row> GetEnumerator()
 {
     if (RowQueue == null)
     {
         yield break;
     }
     while (!IsExhausted())
     {
         Row row;
         while (RowQueue.TryDequeue(out row))
         {
             yield return(row);
         }
     }
 }