Summary
Convenience class providing a starting point for chaining comparers.
- Namespace
- ReactiveUI
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["OrderedComparer<T>"]
class Type type-node
Syntax
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1402:FileMayOnlyContainASingleType", Justification = "Classes with the same class names within.")]
public static class OrderedComparer<T>
Attributes
Type | Description |
---|---|
Suppress |
Type Parameters
Name | Description |
---|---|
T | The comparison type. |
Methods
Name | Value | Summary |
---|---|---|
OrderBy |
IComparer |
Creates a comparer that will sort elements in ascending order based on the values returned by the provided
selector. The values will be compared using the default comparer for the return type of the selector.
static
|
OrderBy |
IComparer |
Creates a comparer that will sort elements in ascending order based on the values returned by the provided
selector. The selector values will be compared using the provided comparer or the default comparer for the
return type of the selector if no comparer is specified.
static
|
OrderByDescending |
IComparer |
Creates a comparer that will sort elements in descending order based on the values returned by the provided
selector. The values will be compared using the default comparer for the return type of the selector.
static
|
OrderByDescending |
IComparer |
Creates a comparer that will sort elements in descending order based on the values returned by the provided
selector. The selector values will be compared using the provided comparer or the default comparer for the
return type of the selector if no comparer is specified.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
Invoke |
object |
This is a thing I lifted from Prism.
|