Пример #1
0
 public static ValueTask <int> CountAsync <TSource>(this IAsyncEnumerable <TSource> source) =>
 LinqEnumerable.CountAsync(source);
Пример #2
0
 public static ValueTask <int> CountAsync <TSource>(this IAsyncEnumerable <TSource> source, Func <TSource, bool> predicate) =>
 LinqEnumerable.CountAsync(source, predicate);