Interface IStorageEnumerator
Helper for enumerating storage records.
Namespace: NineDigiteKasa
Assembly: NineDigit.eKasa.dll
Syntax
public interface IStorageEnumerator
Properties
Current
Gets the element in the collection at the current position of the enumerator.
Declaration
Record Current { get; }
Property Value
| Type | Description |
|---|---|
| Record |
CurrentBlock
Gets the position of the enumerator in blocks.
Declaration
uint CurrentBlock { get; }
Property Value
| Type | Description |
|---|---|
| uint |
Methods
MoveNextAsync(CancellationToken)
Advances the enumerator to the next valid element of the collection.
Declaration
Task<bool> MoveNextAsync(CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Taskbool |
|
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
void Reset()