Table of Contents

Class CsvReader<T>.AsyncEnumerator

Namespace
FlameCsv.Reading
Assembly
FlameCsv.Core.dll

Enumerator for raw CSV record fields.

public sealed class CsvReader<T>.AsyncEnumerator : IAsyncEnumerator<CsvRecordRef<T>>, IAsyncDisposable
Inheritance
object
CsvReader<T>.AsyncEnumerator
Implements

Properties

Current

Current record.

public CsvRecordRef<T> Current { get; }

Property Value

CsvRecordRef<T>

Methods

DisposeAsync()

Disposes the parser.

public ValueTask DisposeAsync()

Returns

ValueTask

MoveNextAsync()

Attempts to read the next record.

public ValueTask<bool> MoveNextAsync()

Returns

ValueTask<bool>

true if a record was read; otherwise, false.