diff --git a/.vs/youtube-downloader/v16/.suo b/.vs/youtube-downloader/v16/.suo index eaa872b..e105da3 100644 Binary files a/.vs/youtube-downloader/v16/.suo and b/.vs/youtube-downloader/v16/.suo differ diff --git a/Program.cs b/Program.cs index 1b94aac..0723f82 100644 --- a/Program.cs +++ b/Program.cs @@ -238,7 +238,7 @@ namespace youtube_downloader } catch (Exception ex) { - + _ = ex; } } break; diff --git a/Server/Functions/Downloader.cs b/Server/Functions/Downloader.cs index 1777d1b..348f5d5 100644 --- a/Server/Functions/Downloader.cs +++ b/Server/Functions/Downloader.cs @@ -171,7 +171,7 @@ namespace youtube_downloader.Server.Functions } }catch(Exception ex) { - + _ = ex; } } return Environment.CurrentDirectory; @@ -326,10 +326,10 @@ namespace youtube_downloader.Server.Functions SavedChannel c2 = SavedChannel.FromChannel(c, _DownloadThumbnail); string infpath = GetPath(true, "Channel", id + ".json"); File.WriteAllText(infpath, JsonConvert.SerializeObject(c2)); - var cvids = ytc.Channels.GetUploadsAsync(id).GetAsyncEnumerator(); - while (await cvids.MoveNextAsync()) + var cvids = await ytc.Channels.GetUploadsAsync(id).ToListAsync(); + foreach(var v in cvids) { - await _DownloadVideo(cvids.Current.Id, res); + await _DownloadVideo(v.Id, res); } } @@ -345,42 +345,58 @@ namespace youtube_downloader.Server.Functions SavedChannel c2 = SavedChannel.FromChannel(c, _DownloadThumbnail); string infpath = GetPath(true, "Channels", c.Id + ".json"); File.WriteAllText(infpath, JsonConvert.SerializeObject(c2)); - var cvids = ytc.Channels.GetUploadsAsync(c.Id).GetAsyncEnumerator(); - while (await cvids.MoveNextAsync()) + var cvids = await ytc.Channels.GetUploadsAsync(c2.Id).ToListAsync(); + foreach (var v in cvids) { - await _DownloadVideo(cvids.Current.Id, res); + await _DownloadVideo(v.Id, res); } } - public static void DownloadVideo(VideoId v,Resolution res) + public static void DownloadVideo(string id,Resolution res) { - DL._DownloadVideo(v, res).GetAwaiter().GetResult(); + VideoId? v = VideoId.TryParse(id); + if (v.HasValue) + { + DL._DownloadVideo(v.Value, res).GetAwaiter().GetResult(); + } } - public static void DownloadVideo(VideoId v) + public static void DownloadVideo(string v) { DownloadVideo(v, Resolution.NoConvert); } - public static void DownloadPlaylist(PlaylistId id,Resolution res) + public static void DownloadPlaylist(string id,Resolution res) { - DL._DownloadPlaylist(id, res).GetAwaiter().GetResult(); + PlaylistId? v = PlaylistId.TryParse(id); + if (v.HasValue) + { + DL._DownloadPlaylist(v.Value, res).GetAwaiter().GetResult(); + } } - public static void DownloadPlaylist(PlaylistId id) + public static void DownloadPlaylist(string id) { DownloadPlaylist(id, Resolution.NoConvert); } - public static void DownloadChannel(ChannelId id,Resolution res) + public static void DownloadChannel(string id,Resolution res) { - DL._DownloadChannel(id, res).GetAwaiter().GetResult(); + ChannelId? v = ChannelId.TryParse(id); + if (v.HasValue) + { + DL._DownloadChannel(v.Value, res).GetAwaiter().GetResult(); + } } - public static void DownloadChannel(ChannelId id) + public static void DownloadChannel(string id) { DownloadChannel(id, Resolution.NoConvert); } - public static void DownloadUser(UserName name, Resolution res) + public static void DownloadUser(string name, Resolution res) { - DL._DownloadUser(name, res).GetAwaiter().GetResult(); + UserName? v=UserName.TryParse(name); + if (v.HasValue) + { + DL._DownloadUser(v.Value, res).GetAwaiter().GetResult(); + } } - public static void DownloadUser(UserName name) + public static void DownloadUser(string name) { DownloadUser(name, Resolution.NoConvert); } diff --git a/Server/Models/SavedPlaylist.cs b/Server/Models/SavedPlaylist.cs index a999d8e..c898740 100644 --- a/Server/Models/SavedPlaylist.cs +++ b/Server/Models/SavedPlaylist.cs @@ -8,7 +8,7 @@ namespace TessesYoutubeDownloader.Server.Models { class SavedPlaylist { - public static async Task FromPlaylistId(Resolution res,YoutubeExplode.YoutubeClient ytc,YoutubeExplode.Playlists.PlaylistId id,Action addToQueue, Action downloadThumbnail) + public static async Task FromPlaylistId(Resolution res,YoutubeExplode.YoutubeClient ytc,YoutubeExplode.Playlists.PlaylistId id,Action addToQueue, Action downloadThumbnail) { SavedPlaylist pl2 = new SavedPlaylist(); pl2.Videos = new List(); @@ -25,12 +25,14 @@ namespace TessesYoutubeDownloader.Server.Models { downloadThumbnail(thumb.Resolution.Width, thumb.Resolution.Height,id, thumb.Url); } - var plv = ytc.Playlists.GetVideosAsync(id).GetAsyncEnumerator(); - while(await plv.MoveNextAsync()) - { - addToQueue(plv.Current.Id,res); - pl2.Videos.Add(plv.Current.Id); + var cvids = await ytc.Playlists.GetVideosAsync(id).ToListAsync(); + foreach (var v in cvids) + { + addToQueue(v.Id,res); + pl2.Videos.Add(v.Id); } + + return pl2; } public List Videos { get; set; } diff --git a/bin/Debug/System.Linq.Async.dll b/bin/Debug/System.Linq.Async.dll new file mode 100644 index 0000000..5835a0f Binary files /dev/null and b/bin/Debug/System.Linq.Async.dll differ diff --git a/bin/Debug/System.Linq.Async.xml b/bin/Debug/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/bin/Debug/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/bin/Debug/youtube-downloader.exe b/bin/Debug/youtube-downloader.exe index e06ceef..b7f8008 100644 Binary files a/bin/Debug/youtube-downloader.exe and b/bin/Debug/youtube-downloader.exe differ diff --git a/bin/Debug/youtube-downloader.pdb b/bin/Debug/youtube-downloader.pdb index f3a1777..82e9884 100644 Binary files a/bin/Debug/youtube-downloader.pdb and b/bin/Debug/youtube-downloader.pdb differ diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 2f09f2e..be61460 100644 Binary files a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/youtube-downloader.csproj.AssemblyReference.cache b/obj/Debug/youtube-downloader.csproj.AssemblyReference.cache index 6f8d20a..9634c63 100644 Binary files a/obj/Debug/youtube-downloader.csproj.AssemblyReference.cache and b/obj/Debug/youtube-downloader.csproj.AssemblyReference.cache differ diff --git a/obj/Debug/youtube-downloader.csproj.CoreCompileInputs.cache b/obj/Debug/youtube-downloader.csproj.CoreCompileInputs.cache index ddcdfba..8e754d8 100644 --- a/obj/Debug/youtube-downloader.csproj.CoreCompileInputs.cache +++ b/obj/Debug/youtube-downloader.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -2a5e8789af6d18f40163043d238b63564245c869 +b4ca8c584923940929f3de1b0f73baa4a23e2ad6 diff --git a/obj/Debug/youtube-downloader.csproj.FileListAbsolute.txt b/obj/Debug/youtube-downloader.csproj.FileListAbsolute.txt index bbddba0..d579eae 100644 --- a/obj/Debug/youtube-downloader.csproj.FileListAbsolute.txt +++ b/obj/Debug/youtube-downloader.csproj.FileListAbsolute.txt @@ -33,3 +33,5 @@ C:\Users\Demetria Lovato\youtube-downloader\obj\Debug\youtube-downloader.csproj. C:\Users\Demetria Lovato\youtube-downloader\obj\Debug\youtube-downloader.csproj.CopyComplete C:\Users\Demetria Lovato\youtube-downloader\obj\Debug\youtube-downloader.exe C:\Users\Demetria Lovato\youtube-downloader\obj\Debug\youtube-downloader.pdb +C:\Users\Demetria Lovato\youtube-downloader\bin\Debug\System.Linq.Async.dll +C:\Users\Demetria Lovato\youtube-downloader\bin\Debug\System.Linq.Async.xml diff --git a/obj/Debug/youtube-downloader.exe b/obj/Debug/youtube-downloader.exe index e06ceef..b7f8008 100644 Binary files a/obj/Debug/youtube-downloader.exe and b/obj/Debug/youtube-downloader.exe differ diff --git a/obj/Debug/youtube-downloader.pdb b/obj/Debug/youtube-downloader.pdb index f3a1777..82e9884 100644 Binary files a/obj/Debug/youtube-downloader.pdb and b/obj/Debug/youtube-downloader.pdb differ diff --git a/packages.config b/packages.config index 63bf828..fc1b8fc 100644 --- a/packages.config +++ b/packages.config @@ -5,6 +5,7 @@ + diff --git a/packages/System.Linq.Async.5.0.0/.signature.p7s b/packages/System.Linq.Async.5.0.0/.signature.p7s new file mode 100644 index 0000000..e800666 Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/.signature.p7s differ diff --git a/packages/System.Linq.Async.5.0.0/System.Linq.Async.5.0.0.nupkg b/packages/System.Linq.Async.5.0.0/System.Linq.Async.5.0.0.nupkg new file mode 100644 index 0000000..8b780d3 Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/System.Linq.Async.5.0.0.nupkg differ diff --git a/packages/System.Linq.Async.5.0.0/lib/net461/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/lib/net461/System.Linq.Async.dll new file mode 100644 index 0000000..5835a0f Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/lib/net461/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/lib/net461/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/lib/net461/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/lib/net461/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/lib/netcoreapp3.1/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/lib/netcoreapp3.1/System.Linq.Async.dll new file mode 100644 index 0000000..c1d063b Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/lib/netcoreapp3.1/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/lib/netcoreapp3.1/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/lib/netcoreapp3.1/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/lib/netcoreapp3.1/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/lib/netstandard2.0/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/lib/netstandard2.0/System.Linq.Async.dll new file mode 100644 index 0000000..4e049a5 Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/lib/netstandard2.0/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/lib/netstandard2.0/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/lib/netstandard2.0/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/lib/netstandard2.0/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/lib/netstandard2.1/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/lib/netstandard2.1/System.Linq.Async.dll new file mode 100644 index 0000000..e7357ec Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/lib/netstandard2.1/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/lib/netstandard2.1/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/lib/netstandard2.1/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/lib/netstandard2.1/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/ref/net461/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/ref/net461/System.Linq.Async.dll new file mode 100644 index 0000000..cdfdcae Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/ref/net461/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/ref/net461/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/ref/net461/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/ref/net461/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/ref/netcoreapp3.1/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/ref/netcoreapp3.1/System.Linq.Async.dll new file mode 100644 index 0000000..662d759 Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/ref/netcoreapp3.1/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/ref/netcoreapp3.1/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/ref/netcoreapp3.1/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/ref/netcoreapp3.1/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/ref/netstandard2.0/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/ref/netstandard2.0/System.Linq.Async.dll new file mode 100644 index 0000000..fe4d0a7 Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/ref/netstandard2.0/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/ref/netstandard2.0/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/ref/netstandard2.0/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/ref/netstandard2.0/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/packages/System.Linq.Async.5.0.0/ref/netstandard2.1/System.Linq.Async.dll b/packages/System.Linq.Async.5.0.0/ref/netstandard2.1/System.Linq.Async.dll new file mode 100644 index 0000000..71e880f Binary files /dev/null and b/packages/System.Linq.Async.5.0.0/ref/netstandard2.1/System.Linq.Async.dll differ diff --git a/packages/System.Linq.Async.5.0.0/ref/netstandard2.1/System.Linq.Async.xml b/packages/System.Linq.Async.5.0.0/ref/netstandard2.1/System.Linq.Async.xml new file mode 100644 index 0000000..c73c4d8 --- /dev/null +++ b/packages/System.Linq.Async.5.0.0/ref/netstandard2.1/System.Linq.Async.xml @@ -0,0 +1,3249 @@ + + + + System.Linq.Async + + + + + Provides a set of extension methods for . + + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + + The type of elements in the source sequence. + An async-enumerable sequence to aggregate over. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + + The type of elements in the source sequence. + The type of the result of aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the final accumulator value. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector is used to select the result value. + + The type of elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An asynchronous accumulator function to be invoked and awaited on each element. + An asynchronous transform function to transform the final accumulator value into the result value. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the value obtained by applying the result selector to the final accumulator value. + or or is . + + + + Determines whether all elements in an async-enumerable sequence satisfy a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether all elements in the sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element in an async-enumerable sequence satisfies a condition. + + The type of element in the sequence. + An async-enumerable sequence whose elements to apply the predicate to. + An asynchronous predicate to apply to each element of the source sequence. + An optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a value indicating whether any elements in the source sequence pass the test in the specified predicate. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values. + or is . + The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking an asynchronous transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + An async-enumerable sequence of values to compute the average of. + A transform function to invoke and await on each element of the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the average of the sequence of values, or if the source sequence is empty. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Counts the elements in an async-enumerable sequence that satisfy a condition. + + Type of elements in the source sequence. + A sequence of elements to count. + An asynchronous predicate to apply to each element in the source sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the number of elements in the sequence that satisfy the predicate. + or is . + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of elements in the sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be invoked and awaited for each element in the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate. + or is . + No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no element satisfies the condition in the predicate. + + The type of element in the sequence. + Source async-enumerable sequence. + An asynchronous predicate to invoke and await on each element of the sequence. + An optional cancellation token for cancelling the sequence at any time. + A ValueTask containing the first element in the sequence that satisfies the predicate, or a default value if no element satisfies the predicate. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Invokes and awaits an asynchronous action on each element in the source sequence, incorporating the element's index, and returns a task that is signaled when the sequence terminates. + + Type of elements in the sequence. + Source sequence. + Asynchronous action to invoke and await for each element in the source sequence; the second parameter represents the index of the element. + Optional cancellation token for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or is . + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to map each source element to an element in an async-enumerable group. + An equality comparer to use to compare keys. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function, and then applies a result selector function to each group. + + Type of element in the source sequence. + Type of the grouping key computed for each element in the source sequence. + The result type returned by the result selector function. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking and awaiting the result-selector function on each group. + or or or is . + + + + Groups the elements of an async-enumerable sequence according to a specified key-selector function, applies an element selector to each element of each group, then applies a result selector to each transformed group. + + The type of element in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of element computed by the element selector. + The type of the final result, computed by applying the result selector to each transformed group of elements. + An async-enumerable sequence whose elements to group. + An asynchronous function to extract the key for each element. + An asynchronous function to apply to each element of each group. + An asynchronous function to transform each group into the result type. + An equality comparer to use to compare keys. + An async-enumerable sequence of results obtained by invoking the result selector function on each group and awaiting the result. + or or or or is . + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing a that represents the number of elements in the specified async-enumerable sequence that satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + An asynchronous predicate to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Returns the maximum value in an async-enumerable sequence. + + Type of elements in the source sequence. + The source sequence. + An asynchronous transform function to invoke and await on each element of the source. + The optional cancellation token to be usef for cancelling the sequence at any time. + A ValueTask containing the maximum value in the sequence. + or is . + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes and awaits a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + An asynchronous transform function to invoke and await on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Sorts the elements of a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. The keys are obtained by invoking the transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + An asynchronous function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function to each member of the source sequence and awaiting the result. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by applying an asynchronous selector function that incorporates each element's index to each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + The type of elements in the result sequence, obtained by running the selector function for each element and its index, and awaiting the result. + A sequence of elements to invoke a transform function on. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element and its index of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element of the source sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence into an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into an async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected inner sequences and the merged result sequence. + An async-enumerable sequence of elements to project. + An asynchronous selector function to apply to each element; the second parameter represents the index of the element. + An async-enumerable sequence who's elements are the result of invoking the one-to-many transform function on each element of the source sequence and awaiting the result. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function, invokes the result selector for each of the source elements and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences along with their corrasponding source element and awaiting the result. + , , or is . + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by awaiting the result of a transform function that incorporates each element's index, + invokes the result selector for the source element and each of the corrasponding inner-sequence's elements and awaits the result, and merges the results into one async-enumerable sequence. + + The type of elements in the source sequence. + The type of elements in the projected intermediate sequences. + The type of elements in the result sequence. + An async-enumerable sequence of elements to project. + An asynchronous transform function to apply to each source element; the second parameter represents the index of the element. + An asynchronous transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence, awaiting the result, applying to each element of the intermediate sequences olong with their corrasponding source element and awaiting the result. + , , or is . + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists, and reports an exception if there is more than one element in the async-enumerable sequence that matches the predicate. + + The type of elements in the source sequence. + Source async-enumerable sequence. + An asynchronous predicate that will be applied to each element of the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the only element in the async-enumerable sequence that satisfies the condition in the asynchronous predicate, or a default value if no such element exists. + or is null. + (Asynchronous) More than one element satisfies the condition in the predicate. + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Bypasses elements in an async-enumerable sequence as long as a condition is true, and then returns the remaining elements. + The index of the element is used by the predicate. + + The type of elements in the source sequence. + An async-enumerable sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the element. + An async-enumerable sequence containing the elements in the source sequence starting at the first element that does not pass the test specified by the predicate. + or is . + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the source sequence and awaiting the result. + + The type of elements in the source sequence. + A sequence of values that are used to calculate a sum. + An asynchronous transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing the sum of the values in the source sequence. + or is . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous predicate to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + An asynchronous function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. The keys are obtained by invoking a transform function on each element and awaiting the result. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + An asynchronous function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence using the specified asynchronous key and element selector functions. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking a key-selector function on each element and awaiting the result. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence by invoking key and element selector functions on each source element and awaiting the results. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + An asynchronous function to extract a key from each element. + An asynchronous transform function to produce a result element value from each source element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on an asynchronous predicate that incorporates the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + An asynchronous predicate to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + An asynchronous function to invoke and await for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + Creates a new enumerable using the specified delegates implementing the members of . + + The type of the elements returned by the enumerable sequence. + The delegate implementing the method. + A new enumerable instance. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource}. + + The type of the elements in the source sequence and the result of the aggregation. + An async-enumerable sequence to aggregate over. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value. + For aggregation behavior with incremental intermediate results, see System.Interactive.Async.AsyncEnumerableEx.Scan{TSource, Accumulate}". + + The type of the elements in the source sequence. + The type of the result of the aggregation. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Applies an accumulator function over an async-enumerable sequence, returning the result of the aggregation as a single element in the result sequence. The specified seed value is used as the initial accumulator value, + and the specified result selector function is used to select the result value. + + The type of the elements in the source sequence. + The type of the accumulator value. + The type of the resulting value. + An async-enumerable sequence to aggregate over. + The initial accumulator value. + An accumulator function to be invoked on each element. + A function to transform the final accumulator value into the result value. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the final accumulator value. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether all elements of an async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether all elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains any elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to check for non-emptiness. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains any elements. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether any element of an async-enumerable sequence satisfies a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to apply the predicate to. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether any elements in the source sequence pass the test in the specified predicate. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Append a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to append the value to. + Element to append to the specified sequence. + The source sequence appended with the specified value. + is null. + + + + Prepend a value to an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence to prepend the value to. + Element to prepend to the specified sequence. + The source sequence prepended with the specified value. + is null. + + + + Hides the identity of an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence whose identity to hide. + An async-enumerable sequence that hides the identity of the source sequence. + is null. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the average of an async-enumerable sequence of values. + + A sequence of values to calculate the average of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values. + is null. + (Asynchronous) The source sequence is empty. + + + + Computes the average of an async-enumerable sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values to calculate the average of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the average of the sequence of values, or null if the source sequence is empty or contains only values that are null. + or is null. + (Asynchronous) The source sequence is empty. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts the elements of an async-enumerable sequence to the specified type. + + The type to convert the elements in the source sequence to. + The async-enumerable sequence that contains the elements to be converted. + An async-enumerable sequence that contains each element of the source sequence converted to the specified type. + is null. + + + + Concatenates the second async-enumerable sequence to the first async-enumerable sequence upon successful termination of the first. + + The type of the elements in the source sequences. + First async-enumerable sequence. + Second async-enumerable sequence. + An async-enumerable sequence that contains the elements of the first sequence, followed by those of the second the sequence. + or is null. + + + + Determines whether an async-enumerable sequence contains a specified element by using the default equality comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether an async-enumerable sequence contains a specified element by using a specified System.Collections.Generic.IEqualityComparer{T}. + + The type of the elements in the source sequence. + An async-enumerable sequence in which to locate a value. + The value to locate in the source sequence. + An equality comparer to compare elements. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element determining whether the source sequence contains an element that has the specified value. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the elements of the specified sequence or the type parameter's default value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), whose default value will be taken if the sequence is empty. + The sequence to return a default value for if it is empty. + An async-enumerable sequence that contains the default value for the TSource type if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns the elements of the specified sequence or the specified value in a singleton sequence if the sequence is empty. + + The type of the elements in the source sequence (if any), and the specified default value which will be taken if the sequence is empty. + The sequence to return the specified value for if it is empty. + The value to return if the sequence is empty. + An async-enumerable sequence that contains the specified default value if the source is empty; otherwise, the elements of the source itself. + is null. + + + + Returns an async-enumerable sequence that contains only distinct elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + An async-enumerable sequence only containing the distinct elements from the source sequence. + is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns an async-enumerable sequence that contains only distinct elements according to the comparer. + + The type of the elements in the source sequence. + An async-enumerable sequence to retain distinct elements for. + Equality comparer for source elements. + An async-enumerable sequence only containing the distinct elements from the source sequence. + or is null. + Usage of this operator should be considered carefully due to the maintenance of an internal lookup structure which can grow large. + + + + Returns the element at a specified index in a sequence. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence. + is null. + is less than zero. + (Asynchronous) is greater than or equal to the number of elements in the source sequence. + + + + Returns the element at a specified index in a sequence or a default value if the index is out of range. + + The type of the elements in the source sequence. + async-enumerable sequence to return the element from. + The zero-based index of the element to retrieve. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that produces the element at the specified position in the source sequence, or a default value if the index is outside the bounds of the source sequence. + is null. + is less than zero. + + + + Returns an empty async-enumerable sequence. + + The type used for the type parameter of the resulting sequence. + An async-enumerable sequence with no elements. + + + + Produces the set difference of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + A sequence that contains the set difference of the elements of two sequences. + or is null + + + + Produces the set difference of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose elements that are not also in second will be returned. + An async-enumerable sequence whose elements that also occur in the first sequence will cause those elements to be removed from the returned sequence. + An equality comparer to compare values. + A sequence that contains the set difference of the elements of two sequences. + or is null. + + + + Returns the first element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the first element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the first element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the first element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Invokes an action for each element in the async-enumerable sequence, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Invokes an action for each element in the async-enumerable sequence, incorporating the element's index, and returns a Task object that will get signaled when the sequence terminates. + + The type of the elements in the source sequence. + Source sequence. + Action to invoke for each element in the async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Task that signals the termination of the sequence. + or is null. + This operator is especially useful in conjunction with the asynchronous programming features introduced in C# 5.0 and Visual Basic 11. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or is null. + + + + Groups the elements of an async-enumerable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. + + The type of the elements in the source sequence. + The type of the grouping key computed for each element in the source sequence. + The type of the elements within the groups computed for each element in the source sequence. + An async-enumerable sequence whose elements to group. + A function to extract the key for each element. + A function to map each source element to an element in an async-enumerable group. + An equality comparer to compare keys with. + A sequence of async-enumerable groups, each of which corresponds to a unique key value, containing all elements that share that same key value. + or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Correlates the elements of two async-enumerable sequences based on equality of keys and groups the results. The specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first async-enumerable sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from an element from the first sequence and a collection of matching elements from the second sequence. + An equality comparer to hash and compare keys. + An async-enumerable sequence that contains elements of type TResult that are obtained by performing a grouped join on two sequences. + or or or or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the default equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Produces the set intersection of two async-enumerable sequences by using the specified equality comparer to compare values. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements that also appear in second will be returned. + An async-enumerable sequence whose distinct elements that also appear in the first sequence will be returned. + An equality comparer to compare values. + A sequence that contains the elements that form the set intersection of two sequences. + or is null. + + + + Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Correlates the elements of two sequences based on matching keys. A specified equality comparer is used to compare keys. + + The type of the elements of the first async-enumerable sequence. + The type of the elements of the second async-enumerable sequence. + The type of the keys returned by the key selector functions. + The type of the result elements. + The first async-enumerable sequence to join. + The async-enumerable sequence to join to the first sequence. + A function to extract the join key from each element of the first sequence. + A function to extract the join key from each element of the second sequence. + A function to create a result element from two matching elements. + An equality comparer to hash and compare keys. + An async-enumerable sequence that has elements of type TResult that are obtained by performing an inner join on two sequences. + or or or or is null. + + + + Returns the last element of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the last element of an async-enumerable sequence, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence, or a default value if no such element exists. + is null. + + + + Returns the last element of an async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the last element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + + + + Returns an async-enumerable sequence containing an that represents the total number of elements in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the number of elements in the input sequence. + is null. + (Asynchronous) The number of elements in the source sequence is larger than . + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns an async-enumerable sequence containing an that represents how many elements in the specified async-enumerable sequence satisfy a condition. + + The type of the elements in the source sequence. + An async-enumerable sequence that contains elements to be counted. + A function to test each element for a condition. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a number that represents how many elements in the input sequence satisfy the condition in the predicate function. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the maximum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the maximum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the maximum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the value that corresponds to the maximum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the minimum element in an async-enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to determine the minimum element of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum element in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Invokes a transform function on each element of a sequence and returns the minimum value. + + The type of the elements in the source sequence. + The type of the objects derived from the elements in the source sequence to determine the minimum of. + An async-enumerable sequence to determine the minimum element of. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask sequence containing a single element with the value that corresponds to the minimum element in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the maximum value in an async-enumerable sequence of values. + + A sequence of values to determine the maximum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the maximum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Returns the minimum value in an async-enumerable sequence of values. + + A sequence of values to determine the minimum value of. + The optional cancellation token to be used for cancelling the sequence at any time. + A ValueTask containing a single element with the minimum value in the source sequence. + is null. + + + + Filters the elements of an async-enumerable sequence based on the specified type. + + The type to filter the elements in the source sequence on. + The async-enumerable sequence that contains the elements to be filtered. + An async-enumerable sequence that contains elements from the input sequence of type TResult. + is null. + + + + Sorts the elements of a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Sorts the elements of a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An async-enumerable sequence of values to order. + A function to extract a key from an element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable whose elements are sorted according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order, according to a key. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. + + The type of the elements of source. + The type of the key returned by keySelector. + An ordered async-enumerable sequence that contains elements to sort. + A function to extract a key from each element. + A comparer to compare keys. + An ordered async-enumerable sequence whose elements are sorted in descending order according to a key. + or is null. + + + + Generates an async-enumerable sequence of integral numbers within a specified range. + + The value of the first integer in the sequence. + The number of sequential integers to generate. + An async-enumerable sequence that contains a range of sequential integral numbers. + is less than zero. -or- + - 1 is larger than . + + + + Generates an async-enumerable sequence that repeats the given element the specified number of times. + + The type of the element that will be repeated in the produced sequence. + Element to repeat. + Number of times to repeat the element. + An async-enumerable sequence that repeats the given element the specified number of times. + is less than zero. + + + + Inverts the order of the elements in a sequence. + + The type of the elements of source. + An async-enumerable sequence of values to reverse. + An async-enumerable sequence whose elements correspond to those of the input sequence in reverse order. + is null. + + + + Projects each element of an async-enumerable sequence into a new form. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence into a new form by incorporating the element's index. + + The type of the elements in the source sequence. + The type of the elements in the result sequence, obtained by running the selector function for each element in the source sequence. + A sequence of elements to invoke a transform function on. + A transform function to apply to each source element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the transform function on each element of source. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index and merges the resulting async-enumerable sequences into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected inner sequences and the elements in the merged result sequence. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence. + or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element. + A transform function to apply to each element of the intermediate sequence. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Projects each element of an async-enumerable sequence to an async-enumerable sequence by incorporating the element's index, invokes the result selector for the source element and each of the corresponding inner sequence's elements, and merges the results into one async-enumerable sequence. + + The type of the elements in the source sequence. + The type of the elements in the projected intermediate sequences. + The type of the elements in the result sequence, obtained by using the selector to combine source sequence elements with their corresponding intermediate sequence elements. + An async-enumerable sequence of elements to project. + A transform function to apply to each element; the second parameter of the function represents the index of the source element. + A transform function to apply to each element of the intermediate sequence; the second parameter of the function represents the index of the source element and the fourth parameter represents the index of the intermediate element. + An async-enumerable sequence whose elements are the result of invoking the one-to-many transform function collectionSelector on each element of the input sequence and then mapping each of those sequence elements and their corresponding source element to a result element. + or or is null. + + + + Determines whether two sequences are equal by comparing the elements pairwise. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the default equality comparer for their type. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Determines whether two sequences are equal by comparing the elements pairwise using a specified equality comparer. + + The type of the elements in the source sequence. + First async-enumerable sequence to compare. + Second async-enumerable sequence to compare. + Comparer used to compare elements of both sequences. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence that contains a single element which indicates whether both sequences are of equal length and their corresponding elements are equal according to the specified equality comparer. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns the only element of an async-enumerable sequence, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence. + is null. + (Asynchronous) The source sequence contains more than one element. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence that satisfies the condition in the predicate, and reports an exception if there is not exactly one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + ValueTask containing the single element in the async-enumerable sequence that satisfies the condition in the predicate. + or is null. + (Asynchronous) No element satisfies the condition in the predicate. -or- More than one element satisfies the condition in the predicate. -or- The source sequence is empty. + + + + Returns the only element of an async-enumerable sequence, or a default value if the async-enumerable sequence is empty; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence, or a default value if no such element exists. + is null. + (Asynchronous) The source sequence contains more than one element. + + + + Returns the only element of an async-enumerable sequence that matches the predicate, or a default value if no such element exists; this method reports an exception if there is more than one element in the async-enumerable sequence. + + The type of the elements in the source sequence. + Source async-enumerable sequence. + A predicate function to evaluate for elements in the source sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + Sequence containing the single element in the async-enumerable sequence that satisfies the condition in the predicate, or a default value if no such element exists. + or is null. + (Asynchronous) The sequence contains more than one element that satisfies the condition in the predicate. + + + + Bypasses a specified number of elements in an async-enumerable sequence and then returns the remaining elements. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to skip before returning the remaining elements. + An async-enumerable sequence that contains the elements that occur after the specified index in the input sequence. + is null. + is less than zero. + + + + Bypasses a specified number of elements at the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to bypass at the end of the source sequence. + An async-enumerable sequence containing the source sequence elements except for the bypassed ones at the end. + is null. + is less than zero. + + This operator accumulates a queue with a length enough to store the first elements. As more elements are + received, elements are taken from the front of the queue and produced on the result sequence. This causes elements to be delayed. + + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Bypasses elements in an async-enumerable sequence as long as a specified condition is true and then returns the remaining elements. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + An async-enumerable sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate. + or is null. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values. + + A sequence of values to calculate the sum of. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Computes the sum of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. + + The type of the elements in the source sequence. + A sequence of values that are used to calculate a sum. + A transform function to apply to each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with the sum of the values in the source sequence. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Returns a specified number of contiguous elements from the start of an async-enumerable sequence. + + The type of the elements in the source sequence. + The sequence to take elements from. + The number of elements to return. + An async-enumerable sequence that contains the specified number of elements from the start of the input sequence. + is null. + is less than zero. + + + + Returns a specified number of contiguous elements from the end of an async-enumerable sequence. + + The type of the elements in the source sequence. + Source sequence. + Number of elements to take from the end of the source sequence. + An async-enumerable sequence containing the specified number of elements from the end of the source sequence. + is null. + is less than zero. + + This operator accumulates a buffer with a length enough to store elements elements. Upon completion of + the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed. + + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Returns elements from an async-enumerable sequence as long as a specified condition is true. + The element's index is used in the logic of the predicate function. + + The type of the elements in the source sequence. + A sequence to return elements from. + A function to test each element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes. + or is null. + + + + Creates an array from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get an array of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with an array containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an enumerable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Converts an observable sequence to an async-enumerable sequence. + + The type of the elements in the source sequence. + Observable sequence to convert to an async-enumerable sequence. + The async-enumerable sequence whose elements are pulled from the given observable sequence. + is null. + + + + Converts a task to an async-enumerable sequence. + + The type of the elements in the source task. + Task to convert to an async-enumerable sequence. + The async-enumerable sequence whose element is pulled from the given task. + is null. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a dictionary from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the dictionary key computed for each element in the source sequence. + The type of the dictionary value computed for each element in the source sequence. + An async-enumerable sequence to create a dictionary for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a dictionary mapping unique key values onto the corresponding source sequence's element. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an enumerable sequence. + + The type of the elements in the source sequence. + An async-enumerable sequence to convert to an enumerable sequence. + The enumerable sequence containing the elements in the async-enumerable sequence. + is null. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a hash set from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a hash set of elements for. + An equality comparer to compare elements of the sequence. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a hash set containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a list from an async-enumerable sequence. + + The type of the elements in the source sequence. + The source async-enumerable sequence to get a list of elements for. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a list containing all the elements of the source sequence. + is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and a comparer. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Creates a lookup from an async-enumerable sequence according to a specified key selector function, a comparer, and an element selector function. + + The type of the elements in the source sequence. + The type of the lookup key computed for each element in the source sequence. + The type of the lookup value computed for each element in the source sequence. + An async-enumerable sequence to create a lookup for. + A function to extract a key from each element. + A transform function to produce a result element value from each element. + An equality comparer to compare keys. + The optional cancellation token to be used for cancelling the sequence at any time. + An async-enumerable sequence containing a single element with a lookup mapping unique key values onto the corresponding source sequence's elements. + or or or is null. + The return type of this operator differs from the corresponding operator on IEnumerable in order to retain asynchronous behavior. + + + + Converts an async-enumerable sequence to an observable sequence. + + The type of the elements in the source sequence. + Enumerable sequence to convert to an observable sequence. + The observable sequence whose elements are pulled from the given enumerable sequence. + is null. + + + + Produces the set union of two sequences by using the default equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + Produces the set union of two sequences by using a specified equality comparer. + + The type of the elements of the input sequences. + An async-enumerable sequence whose distinct elements form the first set for the union. + An async-enumerable sequence whose distinct elements form the second set for the union. + The equality comparer to compare values. + An async-enumerable sequence that contains the elements from both input sequences, excluding duplicates. + or is null. + + + + An iterator that yields distinct values from two or more . + + The type of the source enumerables. + + + + An iterator that yields distinct values from two . + + The type of the source enumerables. + + + + An iterator that yields distinct values from three or more . + + The type of the source enumerables. + + + + Filters the elements of an async-enumerable sequence based on a predicate. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Filters the elements of an async-enumerable sequence based on a predicate by incorporating the element's index. + + The type of the elements in the source sequence. + An async-enumerable sequence whose elements to filter. + A function to test each source element for a condition; the second parameter of the function represents the index of the source element. + An async-enumerable sequence that contains elements from the input sequence that satisfy the condition. + or is null. + + + + Merges two async-enumerable sequences into one async-enumerable sequence by combining their elements in a pairwise fashion. + + The type of the elements in the first source sequence. + The type of the elements in the second source sequence. + The type of the elements in the result sequence, returned by the selector function. + First async-enumerable source. + Second async-enumerable source. + Function to invoke for each consecutive pair of elements from the first and second source. + An async-enumerable sequence containing the result of pairwise combining the elements of the first and second source using the specified result selector function. + or or is null. + + + + An iterator that yields the items of part of an . + + The type of the source enumerable. + + + + An iterator that yields the items of part of an . + + The type of the source list. + + + + An iterator that can produce an array or through an optimized path. + + + + + Produce an array of the sequence through an optimized path. + + + The array. + + + + Produce a of the sequence through an optimized path. + + + The . + + + + Returns the count of elements in the sequence. + + If true then the count should only be calculated if doing + so is quick (sure or likely to be constant time), otherwise -1 should be returned. + + The number of elements. + + + + An iterator that supports random access and can produce a partial sequence of its items through an optimized path. + + + + + Creates a new partition that skips the specified number of elements from this sequence. + + The number of elements to skip. + An with the first items removed. + + + + Creates a new partition that takes the specified number of elements from this sequence. + + The number of elements to take. + An with only the first items. + + + + Gets the item associated with a 0-based index in this sequence. + + The 0-based index to access. + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the first item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Gets the last item in this sequence. + + Token to observe for cancellation requests. + The element if found, otherwise, the default value of . + + + + Represents a sorted async-enumerable sequence. + + The type of the elements of the sequence. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key. + + The type of the key produced by keySelector. + The function used to extract the key for each element. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + + Performs a subsequent ordering on the elements of an ordered async-enumerable according to a key provided via a ValueTask. + + The type of the key produced by keySelector. + The function used to extract the key for each element as a ValueTask supporting cancellation. + The comparer used to compare keys for placement in the returned sequence. + true to sort the elements in descending order; false to sort the elements in ascending order. + An ordered async-enumerable whose elements are sorted according to a key. + + + Adapted from System.Linq.Grouping from .NET Framework + Source: https://github.com/dotnet/corefx/blob/b90532bc97b07234a7d18073819d019645285f1c/src/System.Linq/src/System/Linq/Grouping.cs#L64 + + + + An immutable node in a singly-linked list of items. + + The type of the node's item. + + + + Constructs a tail node. + + The item to place in the tail node. + + + + Constructs a node linked to the specified node. + + The linked node. + The item to place in this node. + + + + The item held by this node. + + + + + The next node in the singly-linked list. + + + + + Creates a new node that holds the specified item and is linked to this node. + + The item to place in the new node. + + + + Gets the number of items in this and subsequent nodes by walking the linked list. + + + + + Gets an that enumerates the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Gets the node at a logical index by walking the linked list. + + The logical index. + + The caller should make sure is less than this node's count. + + + + + Returns an that contains the items of this node's singly-linked list in reverse. + + The number of items in this node. + + + + Provides a set of extension methods for . + + + + + Creates a new enumerator using the specified delegates implementing the members of . + + The type of the elements returned by the enumerator. + The delegate implementing the method. + The delegate implementing the property getter. + The delegate implementing the method. + A new enumerator instance. + + + + Advances the enumerator to the next element in the sequence, returning the result asynchronously. + + The type of the elements returned by the enumerator. + The enumerator to advance. + Cancellation token that can be used to cancel the operation. + + Task containing the result of the operation: true if the enumerator was successfully advanced + to the next element; false if the enumerator has passed the end of the sequence. + + + + + Wraps the specified enumerator with an enumerator that checks for cancellation upon every invocation + of the method. + + The type of the elements returned by the enumerator. + The enumerator to augment with cancellation support. + The cancellation token to observe. + An enumerator that honors cancellation requests. + + + diff --git a/youtube-downloader.csproj b/youtube-downloader.csproj index d1df4be..ab7e329 100644 --- a/youtube-downloader.csproj +++ b/youtube-downloader.csproj @@ -50,6 +50,9 @@ packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + packages\System.Linq.Async.5.0.0\lib\net461\System.Linq.Async.dll + packages\System.Memory.4.5.4\lib\net461\System.Memory.dll