Class Sorter<T>
Inheritance
System.Object
Sorter<T>
Implements
System.Collections.Generic.IComparer<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.TranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
public class Sorter<T> : IComparer<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Sorter(IFieldValueComparer<T>, SortSpecification)
Declaration
public Sorter(IFieldValueComparer<T> comparer, SortSpecification sortSpecification)
Parameters
Type | Name | Description |
---|---|---|
IFieldValueComparer<T> | comparer | |
SortSpecification | sortSpecification |
Sorter(IFieldValueComparer<T>, SortSpecification, SortDisambiguator)
Declaration
public Sorter(IFieldValueComparer<T> comparer, SortSpecification sortSpecification, SortDisambiguator sortDisambiguator)
Parameters
Type | Name | Description |
---|---|---|
IFieldValueComparer<T> | comparer | |
SortSpecification | sortSpecification | |
SortDisambiguator | sortDisambiguator |
Methods
Compare(T, T)
Declaration
public int Compare(T x, T y)
Parameters
Type | Name | Description |
---|---|---|
T | x | |
T | y |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IComparer<T>