ComparisonComparerT Class |
Namespace: Koden.Utils
[Missing <typeparam name="T"/> documentation for "T:Koden.Utils.ComparisonComparer`1"]
The ComparisonComparerT type exposes the following members.
| Name | Description | |
|---|---|---|
| ComparisonComparerT |
Creates a new instance which will proxy to the given Comparison
delegate when called.
|
| Name | Description | |
|---|---|---|
| Compare |
Implementation of IComparer.Compare which simply proxies
to the originally specified Comparison delegate.
| |
| CreateComparison |
Creates a Comparison delegate from the given Comparer.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| kReverseT |
Reverses the original comparer; if it was already a reverse comparer,
the previous version was reversed (rather than reversing twice).
In other words, for any comparer X, X==X.Reverse().Reverse().
(Defined by ComparerExt.) | |
| kThenByT(IComparerT) | Overloaded.
Combines a comparer with a second comparer to implement composite sort
behaviour.
(Defined by ComparerExt.) | |
| kThenByT, TKey(FuncT, TKey) | Overloaded.
Combines a comparer with a projection to implement composite sort behaviour.
(Defined by ComparerExt.) |