NaturalSortKeyComparer Class

NReco.PivotData Class Library Documentation
Implements lexicographical comparison for any 2 objects (A-Z or Z-A).
Inheritance Hierarchy

SystemObject
  NReco.PivotDataNaturalSortKeyComparer

Namespace:  NReco.PivotData
Assembly:  NReco.PivotData (in NReco.PivotData.dll) Version: 1.3.7
Syntax

public class NaturalSortKeyComparer : IComparer<Object>, 
	IComparer<ValueKey>

The NaturalSortKeyComparer type exposes the following members.

Constructors

  NameDescription
Public methodNaturalSortKeyComparer
Initializes a new instance of NaturalSortKeyComparer instance for lexicographical comparison (A-Z).
Public methodNaturalSortKeyComparer(Boolean)
Initializes a new instance of NaturalSortKeyComparer instance for reverse lexicographical comparison (Z-A).
Top
Methods

  NameDescription
Public methodCompare(Object, Object)
Public methodCompare(ValueKey, ValueKey)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberInstance
Represents an instance of NaturalSortKeyComparer for lexicographical comparison (A-Z).
Public fieldStatic memberReverseInstance
Represents an instance of NaturalSortKeyComparer for reverse lexicographical comparison (Z-A).
Top
See Also

Reference