Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,27 @@ namespace System.Linq
*/
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter20.Listing20_08
#endregion EXCLUDE
public static class AsyncEnumerable
{
public static class AsyncEnumerable
{
// ...
#region HIGHLIGHT
public static IAsyncEnumerable<TResult> Select<TSource?, TResult?>(
#endregion HIGHLIGHT
this IAsyncEnumerable<TSource> source,
Func<TSource, TResult> selector);
#region HIGHLIGHT
public static IAsyncEnumerable<TResult> SelectAwait<TSource?, TResult?>(
#endregion HIGHLIGHT
this IAsyncEnumerable<TSource> source,
Func<TSource, ValueTask<TResult>>? selector);
public static
#region HIGHLIGHT
IAsyncEnumerable<TResult> SelectAwaitWithCancellation<
#endregion HIGHLIGHT
TSource?, TResult?>(
this IAsyncEnumerable<TSource> source,
Func<TSource, CancellationToken,
ValueTask<TResult>> selector);
// ...
}
// ...
#region HIGHLIGHT
public static IAsyncEnumerable<TResult> Select<TSource?, TResult?>(
#endregion HIGHLIGHT
this IAsyncEnumerable<TSource> source,
Func<TSource, TResult> selector);
#region HIGHLIGHT
public static IAsyncEnumerable<TResult> SelectAwait<TSource?, TResult?>(
#endregion HIGHLIGHT
this IAsyncEnumerable<TSource> source,
Func<TSource, ValueTask<TResult>>? selector);
public static
#region HIGHLIGHT
IAsyncEnumerable<TResult> SelectAwaitWithCancellation<
#endregion HIGHLIGHT
TSource?, TResult?>(
this IAsyncEnumerable<TSource> source,
Func<TSource, CancellationToken,
ValueTask<TResult>> selector);
// ...
}
#endregion INCLUDE