Interface IStorageEnumerator
Helper for enumerating storage records.
Namespace: NineDigit.eKasa
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 |
---|---|
System.UInt32 |
Methods
MoveNextAsync(CancellationToken)
Advances the enumerator to the next valid element of the collection.
Declaration
Task<bool> MoveNextAsync(CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
|
Reset()
Sets the enumerator to its initial position, which is before the first element in the collection.
Declaration
void Reset()