Struct CsvParser<T>.AsyncEnumerator
Enumerator for raw CSV record fields.
public readonly struct CsvParser<T>.AsyncEnumerator : IAsyncEnumerator<CsvFieldsRef<T>>, IAsyncDisposable
- Implements
Properties
Current
Current record.
public CsvFieldsRef<T> Current { get; }
Property Value
- CsvFieldsRef<T>
Methods
DisposeAsync()
Disposes the parser.
public ValueTask DisposeAsync()
Returns
MoveNextAsync()
Attempts to read the next record.
public ValueTask<bool> MoveNextAsync()
Returns
UnsafeGetFields()
Returns a read-only reference to the field value that Current is constructed from.
[EditorBrowsable(EditorBrowsableState.Never)]
public ref readonly CsvFields<T> UnsafeGetFields()
Returns
- CsvFields<T>