Class EntityDefinitionIterator
An iterator for iterating over IEntityDefinition query results.
Inheritance
object
SkipTakeIteratorBaseIEntityDefinitionQueryResult
EntityDefinitionIterator
Implements
Inherited Members
SkipTakeIteratorBase
SkipTakeIteratorBase
SkipTakeIteratorBase
SkipTakeIteratorBase
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
EntityDefinitionIterator(IMClient, IEntityDefinitionQueryResult)
Initializes a new instance of the EntityDefinitionIterator class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client | The client. |
| IEntityDefinitionQueryResult | result | The query result. |
EntityDefinitionIterator(IMClient, long)
Initializes a new instance of the EntityDefinitionIterator class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client | The client. |
| long | pageSize | The page size. |
Methods
GetResultAsync(long, long)
Gets results.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| long | skip | How many items to skip. |
| long | take | How many items to take. |
Returns
| Type | Description |
|---|---|
| Task<>IEntityDefinitionQueryResult | The results. |
Overrides
Stylelabs.M.Sdk.Models.Querying.SkipTakeIteratorBase<Stylelabs.M.Sdk.Contracts.Querying.IEntityDefinitionQueryResult>.GetResultAsync(long, long)
Implements
If you have suggestions for improving this article, let us know!