,System.Func{--0,--1})} ,System.Func{--0,--1},System.Collections.Generic.IComparer{--1})}
ComparerChainingExtensions.ThenBy(IComparer?, Func) method¶
Defined in
Type: ComparerChainingExtensions
Namespace: ReactiveUI
Assembly: ReactiveUI.Core.dll
Applies to
net10.0, net9.0, net8.0, net462, net481
Overloads¶
-
public static IComparer<T> ThenBy<T, TValue>(this IComparer<T>? parent, Func<T, TValue> selector) -
public static IComparer<T> ThenBy<T, TValue>(this IComparer<T>? parent, Func<T, TValue> selector, IComparer<TValue> comparer)
1. Overload¶
public static IComparer<T> ThenBy<T, TValue>(this IComparer<T>? parent, Func<T, TValue> selector)
Type parameters
| Name | Description |
|---|---|
T | -- |
TValue | -- |
Parameters
| Name | Type | Description |
|---|---|---|
parent | IComparer | -- |
selector | Func | -- |
Returns: IComparer
2. Overload¶
public static IComparer<T> ThenBy<T, TValue>(this IComparer<T>? parent, Func<T, TValue> selector, IComparer<TValue> comparer)
Type parameters
| Name | Description |
|---|---|
T | -- |
TValue | -- |
Parameters
| Name | Type | Description |
|---|---|---|
parent | IComparer | -- |
selector | Func | -- |
comparer | IComparer | -- |
Returns: IComparer