Class EntityDefinitionIterator
Version: 3.4
An iterator for iterating over IEntityDefinition query results.
Inherited Members
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class EntityDefinitionIterator : SkipTakeIteratorBase<IEntityDefinitionQueryResult>, IEntityDefinitionIterator, IQueryIterator<IEntityDefinitionQueryResult>, IIterator
Constructors
EntityDefinitionIterator(IMClient, IEntityDefinitionQueryResult)
Initializes a new instance of the EntityDefinitionIterator class.
Declaration
RequestResponse
public EntityDefinitionIterator(IMClient client, IEntityDefinitionQueryResult result)
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
RequestResponse
public EntityDefinitionIterator(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<IEntityDefinitionQueryResult> 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<>IEntityDefinitionQueryResult |
The results. |
Overrides
Stylelabs.M.Sdk.Models.Querying.SkipTakeIteratorBase<Stylelabs.M.Sdk.Contracts.Querying.IEntityDefinitionQueryResult>.GetResultAsync(long, long)