Exemplo n.º 1
0
 public static ValueTask <int> CountAsync <TSource>(this IAsyncEnumerable <TSource> source) =>
 LinqEnumerable.CountAsync(source);
Exemplo n.º 2
0
 public static ValueTask <int> CountAsync <TSource>(this IAsyncEnumerable <TSource> source, Func <TSource, bool> predicate) =>
 LinqEnumerable.CountAsync(source, predicate);