Class NaturalSortComparer
Compare strings by nautural sort (i.e. A2 before A10)
Inheritance
System.Object
    System.Collections.Generic.Comparer<System.String>
    NaturalSortComparer
  Implements
System.Collections.IComparer
    System.Collections.Generic.IComparer<System.String>
  Inherited Members
      System.Collections.Generic.Comparer<System.String>.Create(System.Comparison<System.String>)
    
    
      System.Collections.Generic.Comparer<System.String>.System.Collections.IComparer.Compare(System.Object, System.Object)
    
    
      System.Collections.Generic.Comparer<System.String>.Default
    
  Namespace: BitAddict.Aras
Assembly: BitAddict.Aras.dll
Syntax
public class NaturalSortComparer : Comparer<string>, IComparer, IComparer<string>
  Fields
Instance
Singleton
Declaration
public static readonly NaturalSortComparer Instance
  Field Value
| Type | Description | 
|---|---|
| NaturalSortComparer | 
Methods
Compare(String, String)
Declaration
public override int Compare(string x, string y)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | x | |
| System.String | y | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Collections.Generic.Comparer<System.String>.Compare(System.String, System.String)
  Implements
      System.Collections.IComparer
  
  
      System.Collections.Generic.IComparer<T>