Esempio n. 1
0
 public static ValueTask <TSource> SingleOrDefaultAsync <TSource>(this IAsyncEnumerable <TSource> source, Func <TSource, bool> predicate) =>
 LinqEnumerable.SingleOrDefaultAsync(source, predicate);
Esempio n. 2
0
 public static ValueTask <TSource> SingleOrDefaultAsync <TSource>(this IAsyncEnumerable <TSource> source) =>
 LinqEnumerable.SingleOrDefaultAsync(source);