public static async Task <StringCollectionAssertions> Should <T>(this IAsyncEnumerable <string> source)
 => (await source.AsEnumerable()).Should();
Esempio n. 2
0
 public static IAsyncEnumerable <TResult> Create <TOuter, TInner, TKey, TResult>(IAsyncEnumerable <TOuter> outer, IAsyncEnumerable <TInner> inner, Func <TOuter, TKey> outerKeySelector, Func <TInner, TKey> innerKeySelector, Func <TOuter, IEnumerable <TInner>, TResult> resultSelector)
 => new AsyncGroupJoinEnumerable <TOuter, TInner, TKey>(outer, inner.AsEnumerable(), outerKeySelector, innerKeySelector)
 .Select(result => resultSelector.Invoke(result.outer, result.inner));
 public static async Task <GenericCollectionAssertions <T> > Should <T>(this IAsyncEnumerable <T> source)
 => (await source.AsEnumerable()).Should();