Implements lexicographical comparison for any 2 objects (A-Z or Z-A).
Inheritance Hierarchy
NReco.PivotDataNaturalSortKeyComparer
Namespace: NReco.PivotData
Assembly: NReco.PivotData (in NReco.PivotData.dll) Version: 1.4.1
Syntax
The NaturalSortKeyComparer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NaturalSortKeyComparer |
Initializes a new instance of NaturalSortKeyComparer instance for lexicographical comparison (A-Z).
| |
NaturalSortKeyComparer(Boolean) |
Initializes a new instance of NaturalSortKeyComparer instance for reverse lexicographical comparison (Z-A).
|
Methods
Name | Description | |
---|---|---|
Compare(Object, Object) | ||
Compare(ValueKey, ValueKey) | ||
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
Instance |
Represents an instance of NaturalSortKeyComparer for lexicographical comparison (A-Z).
| |
ReverseInstance |
Represents an instance of NaturalSortKeyComparer for reverse lexicographical comparison (Z-A).
|
See Also