AzureCosmosDbGetAllAlertRuleProcessResults Method

Retrieves a list of all AlertRuleProcessResultDto with pagination and sorting options.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<GridResults<AlertRuleProcessResultDto>> GetAllAlertRuleProcessResults(
	UserSessionData? currentUser,
	IReadOnlyList<FilterItem> filters,
	IReadOnlyList<SortingItem> sorting,
	ushort pageSize = 50,
	ushort skip = 0,
	bool orderByDesc = true,
	CancellationToken cancellationToken = default
)

Parameters

currentUser  UserSessionData
The user requesting the data.
filters  IReadOnlyListFilterItem
Items to filter on
sorting  IReadOnlyListSortingItem
Sorting order
pageSize  UInt16  (Optional)
The number of items to retrieve per page. Default is 50.
skip  UInt16  (Optional)
The number of items to skip. Default is 0.
orderByDesc  Boolean  (Optional)
Whether to order the results in descending order. Default is true.
cancellationToken  CancellationToken  (Optional)
Cancellation token.

Return Value

TaskGridResultsAlertRuleProcessResultDto
A paginated list of AlertRuleProcessResultDto.

Implements

IAzureCosmosDbGetAllAlertRuleProcessResults(UserSessionData, IReadOnlyListFilterItem, IReadOnlyListSortingItem, UInt16, UInt16, Boolean, CancellationToken)

See Also