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