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