Adapts a
System.Comparison`1
delegate to IComparer<T>
.
- Namespace
- Statiq
.Common - Interfaces
-
- IComparer
<T>
- IComparer
- Base Types
-
- object
graph BT
Type-->Base0["object"]
Type-.->Interface0["IComparer<T>"]
Type["ComparisonComparer<T>"]
class Type type-node
Syntax
public class ComparisonComparer<T> : IComparer<T>
Type Parameters
Name | Description |
---|---|
T | The type to compare. |
Constructors
Name | Summary |
---|---|
ComparisonComparer |
Methods
Name | Return Value | Summary |
---|---|---|
Compare |
int |