Class Sort
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions.API
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents the sort direction of a property.
public class Sort
- Inheritance
-
Sort
- Inherited Members
Constructors
Sort()
Initializes a new instance of the Sort class.
public Sort()
Sort(string, SortDirection)
Initializes a new instance of the Sort class.
public Sort(string propertyName, SortDirection direction)
Parameters
propertyName
stringName of the property.
direction
SortDirectionDirection of the sort.
Properties
Direction
Gets or sets the sorting direction.
public SortDirection Direction { get; set; }
Property Value
PropertyName
Gets or sets the name of property.
public string PropertyName { get; set; }
Property Value
Methods
ToODataString()
Converts the sort to a OData string.
public string ToODataString()
Returns
- string
The OData string.
ToString()
Converts the sort to a string.
public override string ToString()
Returns
- string
The string.