AsyncEnumerable.OrderDescending<T> メソッド

定義

シーケンスの要素を降順で並べ替えます。

public static System.Linq.IOrderedAsyncEnumerable<T> OrderDescending<T>(this System.Collections.Generic.IAsyncEnumerable<T> source, System.Collections.Generic.IComparer<T>? comparer = default);
static member OrderDescending : System.Collections.Generic.IAsyncEnumerable<'T> * System.Collections.Generic.IComparer<'T> -> System.Linq.IOrderedAsyncEnumerable<'T>
<Extension()>
Public Function OrderDescending(Of T) (source As IAsyncEnumerable(Of T), Optional comparer As IComparer(Of T) = Nothing) As IOrderedAsyncEnumerable(Of T)

型パラメーター

T

sourceの要素の型。

パラメーター

source
IAsyncEnumerable<T>

順序付ける値のシーケンス。

comparer
IComparer<T>

キーを比較する IComparer<T>

返品

要素が降順に並べ替えられる IAsyncEnumerable<T>

例外

sourcenullです。

適用対象