Example #1
0
 /// <summary>
 /// Returns an enumerator that iterates through a collection.
 /// </summary>
 /// <returns>
 /// An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.
 /// </returns>
 public IEnumerator GetEnumerator()
 {
     return(_source.GetEnumerator());
 }
Example #2
0
 /// <summary>
 /// Returns an enumerator that iterates through the collection.
 /// </summary>
 /// <returns>
 /// A <see cref="T:System.Collections.Generic.IEnumerator`1"/> that can be used to iterate through the collection.
 /// </returns>
 public IEnumerator <TElement> GetEnumerator()
 {
     return(_groupWhereQuery.GetEnumerator());
 }