Class EntityIterator
An iterator for iterating over IEntity query results.
Inheritance
object
LoadingQueryIteratorBaseIEntityQueryResult
EntityIterator
Implements
Inherited Members
LoadingQueryIteratorBase
LoadingQueryIteratorBase
LoadingQueryIteratorBase
LoadingQueryIteratorBase
LoadingQueryIteratorBase
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsQuerying
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
EntityIterator(IMClient, Query, IEntityLoadConfiguration, IEntityQueryResult)
Initializes a new instance of the EntityIterator class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client | The client. |
| Query | query | The query. |
| IEntityLoadConfiguration | loadConfiguration | The load configuration. |
| IEntityQueryResult | result | The query result. |
EntityIterator(IMClient, Query, IEntityLoadConfiguration)
Initializes a new instance of the EntityIterator class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IMClient | client | The client. |
| Query | query | The query. |
| IEntityLoadConfiguration | loadConfiguration | The load configuration. |
Methods
GetResultAsync(Query, IEntityLoadConfiguration)
Gets the results.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| Query | query | The 'request' query. |
| IEntityLoadConfiguration | loadConfiguration | The load configuration. |
Returns
| Type | Description |
|---|---|
| Task<>IEntityQueryResult | The query results. |
Overrides
Stylelabs.M.Sdk.Models.Querying.LoadingQueryIteratorBase<Stylelabs.M.Sdk.Contracts.Querying.IEntityQueryResult>.GetResultAsync(Stylelabs.M.Base.Querying.Query, Stylelabs.M.Framework.Essentials.LoadConfigurations.IEntityLoadConfiguration)
Implements
If you have suggestions for improving this article, let us know!