Class QueryResultBase<T>
Base implementation for Query results.
Inheritance
object
QueryResultBase<T>
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
Type Parameters
| Name | Description |
|---|---|
| T |
Type of the queried items. |
Constructors
QueryResultBase(IEnumerable<T>, long, long)
Initializes a new instance of the QueryResultBase<T> class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<> | items |
The items. |
| long | totalItems |
The items total. |
| long | offset |
The offset. |
Properties
Items
Gets the results that matched the query. This property only contains the results for the requested page. There may be more results available.
Declaration
Property Value
| Type | Description |
|---|---|
| IList<> |
Offset
Gets or sets describes the start of this page.
Declaration
Property Value
| Type | Description |
|---|---|
| long |
TotalNumberOfResults
Gets the total number of items that match the given query.
Declaration
Property Value
| Type | Description |
|---|---|
| long |
Explicit Interface Implementations
IQueryResult.Items
Gets the results that matched the query. This property only contains the results for the requested page. There may be more results available.
Declaration
Returns
| Type | Description |
|---|---|
| IList<>object |