Class Sorting
Sort settings
Inheritance
↳ object
↳ Sorting
Inherited Members
Equals(object)
Equals(object, object)
GetHashCode()
GetType()
MemberwiseClone()
ReferenceEquals(object, object)
ToString()
Namespace: OptimaJet.Workflow.Core.Persistence
Assembly: OptimaJet.Workflow.Core.dll
Syntaxpublic class Sorting
Properties
FieldName
Name of field for sorting
Declarationpublic string FieldName { get; }
Type | Description |
---|---|
string |
SortDirection
Sorting direction
Declarationpublic SortDirection SortDirection { get; }
Type | Description |
---|---|
SortDirection |
Methods
Create(string, SortDirection)
Create instance of sort settings
Declarationpublic static Sorting Create(string fieldName, SortDirection sortDirection = SortDirection.Asc)
Type | Name | Description |
---|---|---|
string | fieldName | Name of field for sorting |
SortDirection | sortDirection | Sorting direction |
Type | Description |
---|---|
Sorting | Instance of sort settings |