Class EntityDefinitionIdIterator
Version: 3.4
A query result containing entity ids.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class EntityDefinitionIdIterator : SkipTakeIteratorBase<IIdQueryResult>, IIdIterator, IQueryIterator<IIdQueryResult>, IIterator
Constructors
EntityDefinitionIdIterator(IMClient, IIdQueryResult)
Initializes a new instance of the EntityDefinitionIdIterator class.
Declaration
RequestResponse
public EntityDefinitionIdIterator(IMClient client, IIdQueryResult result)
Parameters
Type | Name | Description |
---|---|---|
IMClient | client |
The client. |
IIdQueryResult | result |
The query result. |
EntityDefinitionIdIterator(IMClient, long)
Initializes a new instance of the EntityDefinitionIdIterator class.
Declaration
RequestResponse
public EntityDefinitionIdIterator(IMClient client, long pageSize)
Parameters
Type | Name | Description |
---|---|---|
IMClient | client |
The client. |
long | pageSize |
The page size. |
Methods
GetResultAsync(long, long)
Gets results.
Declaration
RequestResponse
protected override Task<IIdQueryResult> GetResultAsync(long skip, long take)
Parameters
Type | Name | Description |
---|---|---|
long | skip |
How many items to skip. |
long | take |
How many items to take. |
Returns
Type | Description |
---|---|
Task<>IIdQueryResult |
The results. |
Overrides
Stylelabs.M.Sdk.Models.Querying.SkipTakeIteratorBase<Stylelabs.M.Sdk.Contracts.Querying.IIdQueryResult>.GetResultAsync(long, long)