Skip to main content

SortOrderItem

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query

Represents a sort order item.

public class SortOrderItem

Inheritance ObjectSortOrderItem

Properties

AttributePath

Gets the attribute path to sort by.

public string AttributePath { get; }

Property Value

String

SortOrder

How to sort the attribute.

public SortOrders SortOrder { get; }

Property Value

SortOrders

Constructors

SortOrderItem(String, SortOrders)

Constructor

public SortOrderItem(string attributePath, SortOrders sortOrder)

Parameters

attributePath String
Path to an attribute to filter for

sortOrder SortOrders
Type of sort order