Class CsvTypeMapEnumerable<T, TValue>
- Namespace
- FlameCsv.Enumeration
- Assembly
- FlameCsv.Core.dll
Enumerable that can be used to read TValue using reflection.
public sealed class CsvTypeMapEnumerable<T, TValue> : IEnumerable<TValue>, IEnumerable, IAsyncEnumerable<TValue> where T : unmanaged, IBinaryInteger<T>
Type Parameters
TTValue
- Inheritance
-
objectCsvTypeMapEnumerable<T, TValue>
- Implements
-
IEnumerable<TValue>IAsyncEnumerable<TValue>
Methods
GetAsyncEnumerator(CancellationToken)
Returns an enumerator that iterates asynchronously through the collection.
public CsvTypeMapEnumerator<T, TValue> GetAsyncEnumerator(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA CancellationToken that may be used to cancel the asynchronous iteration.
Returns
- CsvTypeMapEnumerator<T, TValue>
An enumerator that can be used to iterate asynchronously through the collection.
GetEnumerator()
Returns an enumerator that iterates through the collection.
public CsvTypeMapEnumerator<T, TValue> GetEnumerator()
Returns
- CsvTypeMapEnumerator<T, TValue>
An enumerator that can be used to iterate through the collection.