Class FluentEntitiesIterator
Provides access to the entity iterator in a fluent way.
Inheritance
object
FluentEntitiesIterator
Namespace: StylelabsStylelabs.MSdkFluentWrappers
Assembly: Stylelabs.M.Sdk.Fluent.dll
Syntax
Constructors
FluentEntitiesIterator(IEntityIterator, IEntitiesClient, IEntityLoadConfiguration)
Initializes a new instance of the FluentEntitiesIterator class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| IEntityIterator | iterator |
The IEntityIterator instance. |
| IEntitiesClient | entitiesClient |
The IEntitiesClient instance. |
| IEntityLoadConfiguration | entityLoadConfiguration |
Properties
Items
Gets the FluentEntity objects for the current iteration.
Declaration
Property Value
| Type | Description |
|---|---|
| List<>FluentEntity |
Object
Gets the IEntityIterator.
Declaration
Property Value
| Type | Description |
|---|---|
| IEntityIterator |
Methods
CanMoveNext()
Declaration
Returns
| Type | Description |
|---|---|
| bool |
CanMovePrevious()
Declaration
Returns
| Type | Description |
|---|---|
| bool |
IterateAll(CancellationToken)
Iterates to the end and collects all IEntity results as FluentEntity.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
The cancellation token. |
Returns
| Type | Description |
|---|---|
| FluentEntitiesIterator |
MoveNextAsync()
Declaration
Returns
| Type | Description |
|---|---|
| Task<>bool |
MovePreviousAsync()
Declaration
Returns
| Type | Description |
|---|---|
| Task<>bool |