Table of Contents

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 string

Name of the property.

direction SortDirection

Direction of the sort.

Properties

Direction

Gets or sets the sorting direction.

public SortDirection Direction { get; set; }

Property Value

SortDirection

PropertyName

Gets or sets the name of property.

public string PropertyName { get; set; }

Property Value

string

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.