Skip to main content

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

Syntax
public class Sorting

Properties

FieldName

Name of field for sorting

Declaration
public string FieldName { get; }
Property value
TypeDescription
string

SortDirection

Sorting direction

Declaration
public SortDirection SortDirection { get; }
Property value
TypeDescription
SortDirection

Methods

Create(string, SortDirection)

Create instance of sort settings

Declaration
public static Sorting Create(string fieldName, SortDirection sortDirection = SortDirection.Asc)
Parameters
TypeNameDescription
stringfieldNameName of field for sorting
SortDirectionsortDirectionSorting direction
Returns
TypeDescription
SortingInstance of sort settings

Extension Methods