Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

SortDirection

Overview

SortDirection is an Enum that represents a sort direction.

It is used to specify the sort direction in which items are retrieved in the GetRangeAsync method of MemoryStoreSortedMap.

Items

Name
Value
Description

Ascending

0

Sorts in ascending order, starting from the front of the sort order.

Descending

1

Sorts in descending order, starting from the back of the sort order.

Last updated