Class QueryResultPagingManager

Current version: 4.0

Query result paging manager.

Inheritance
object
QueryResultPagingManager
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public static class QueryResultPagingManager

Methods

CanMoveNext(IQueryResult)

Checks if the query can move to the next page.

Declaration
RequestResponse
public static bool CanMoveNext(IQueryResult queryResult)
Parameters
TypeNameDescription
IQueryResultqueryResult

The query result.

Returns
TypeDescription
bool

Weather the query can move to next page.

CanMovePrevious(IQueryResult)

Checks if the query can move to the previous page.

Declaration
RequestResponse
public static bool CanMovePrevious(IQueryResult queryResult)
Parameters
TypeNameDescription
IQueryResultqueryResult

The query result.

Returns
TypeDescription
bool

Weather the query can move to previous page.

GetIterationPagesize(IQueryResult)

Gets the page size.

Declaration
RequestResponse
public static long GetIterationPagesize(IQueryResult queryResult)
Parameters
TypeNameDescription
IQueryResultqueryResult

The query result.

Returns
TypeDescription
long

The page size.

GetOffsetNextPage(IQueryResult)

Gets the next page offset.

Declaration
RequestResponse
public static long GetOffsetNextPage(IQueryResult queryResult)
Parameters
TypeNameDescription
IQueryResultqueryResult

The query result.

Returns
TypeDescription
long

The offset.

GetOffsetPreviousPage(IQueryResult)

Gets the previous page offset.

Declaration
RequestResponse
public static long GetOffsetPreviousPage(IQueryResult queryResult)
Parameters
TypeNameDescription
IQueryResultqueryResult

The query result.

Returns
TypeDescription
long

The offset.

Do you have some feedback for us?

If you have suggestions for improving this article,