)} ,System.Collections.Generic.IComparer{--0})}
OrderedLiveQuery.ThenByDescending(Func) method¶
Defined in
Type: OrderedLiveQueryReactiveList.Reactive.Queries Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
Overloads¶
public OrderedLiveQuery<T> ThenByDescending<TKey>(Func<T, TKey> keySelector)public OrderedLiveQuery<T> ThenByDescending<TKey>(Func<T, TKey> keySelector, IComparer<TKey> comparer)
1. Overload¶
public OrderedLiveQuery<T> ThenByDescending<TKey>(Func<T, TKey> keySelector)
View source (opens in a new tab)
Summary: Breaks ties descending by another key.
Type parameters
| Name | Description |
|---|---|
TKey | The sort key type. |
Parameters
| Name | Type | Description |
|---|---|---|
keySelector | Func | Takes the sort key from an item. |
Returns: OrderedLiveQuery
2. Overload¶
public OrderedLiveQuery<T> ThenByDescending<TKey>(Func<T, TKey> keySelector, IComparer<TKey> comparer)
View source (opens in a new tab)
Summary: Breaks ties descending by another key.
Type parameters
| Name | Description |
|---|---|
TKey | The sort key type. |
Parameters
| Name | Type | Description |
|---|---|---|
keySelector | Func | Takes the sort key from an item. |
comparer | IComparer | Compares two keys. |
Returns: OrderedLiveQuery