Beispiel #1
0
 /// <summary>
 ///     Generates a range of integer values as an async sequence.
 /// </summary>
 /// <param name="start">The starting value.</param>
 /// <param name="count">The number of items to generate.</param>
 /// <returns>The new IAsyncEnumerable instance.</returns>
 public static IAsyncEnumerable <int> Range(int start, int count)
 {
     return(AsyncEnumerable.Range(start, count));
 }
Beispiel #2
0
 public static IAsyncEnumerable <int> Range(int start, int count) =>
 LinqEnumerable.Range(start, count);