Class SortCriterium
Encapsulates a sort criterium.
Inherited Members
Namespace: SdlSdl.LanguagePlatformTranslationMemory
Assembly: Sdl.LanguagePlatform.TranslationMemory.dll
Syntax
[DataContract]
public class SortCriterium
Constructors
SortCriterium()
Initializes a new instance with default values.
Declaration
public SortCriterium()
SortCriterium(string, SortDirection)
Initializes a new instance of the SortCriterium class with the specified field name and sort direction.
Declaration
public SortCriterium(string fieldName, SortDirection dir)
Parameters
Type | Name | Description |
---|---|---|
string | fieldName | The field name considered for sorting. |
SortDirection | dir | The sort direction. |
Properties
Direction
Gets or sets the sort direction.
Declaration
[DataMember]
public SortDirection Direction { get; set; }
Property Value
Type | Description |
---|---|
SortDirection |
FieldName
Gets or sets the field name considered for sorting.
Declaration
[DataMember]
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
string |