Tip
Use the methods of CsvConverter to create an instance!
public sealed class CsvReader<TResult> : IEnumerable<TResult>,
IEnumerable, IEnumerator<TResult>, IEnumerator, IDisposable
Public NotInheritable Class CsvReader(Of TResult)
Implements IEnumerable(Of TResult), IEnumerable, IEnumerator(Of TResult),
IEnumerator, IDisposable
generic<typename TResult>
public ref class CsvReader sealed : IEnumerable<TResult>,
IEnumerable, IEnumerator<TResult>, IEnumerator, IDisposable
[<SealedAttribute>]
type CsvReader<'TResult> =
class
interface IEnumerable<'TResult>
interface IEnumerable
interface IEnumerator<'TResult>
interface IEnumerator
interface IDisposable
end
The class implements IEnumerableT. A CsvReaderTResult instance can be iterated with foreach or queried using Linq methods. Note that an instance can only be iterated once; if an attempt is made to iterate it twice, an ObjectDisposedException is thrown.
CsvReaderTResult(CsvReader, CsvToTResult, Boolean) | Initializes a new CsvReaderTResult instance. |
CsvReaderTResult(CsvReader, CsvMapping, FuncObject, TResult, Boolean) | Initializes a new CsvReaderTResult instance. |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetEnumerator | Returns an enumerator that iterates through the collection. |
GetHashCode | Serves as the default hash function. (Inherited from Object) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
TryRead | Tries to read the next TResult from the CSV file. |
SaveCsvTResult |
Saves a collection of TSource instances as a CSV file
with header row.
(Defined by CsvConverterExtension) |
SaveCsvTResult |
Saves a collection of TSource instances as a CSV file
without header row.
(Defined by CsvConverterExtension) |
SaveCsvTResult |
Saves a collection of TSource instances as a CSV file
with header row.
(Defined by CsvConverterExtension) |
SaveCsvTResult |
Saves a collection of TSource instances as a CSV file
without header row.
(Defined by CsvConverterExtension) |
ToCsvTResult |
Converts a collection of TSource instances to a CSV
String with header row.
(Defined by CsvConverterExtension) |
ToCsvTResult |
Converts a collection of TSource instances to a CSV
String without a header row.
(Defined by CsvConverterExtension) |
ToCsvTResult |
Converts a collection of TSource instances to a CSV
String with header row.
(Defined by CsvConverterExtension) |
ToCsvTResult |
Converts a collection of TSource instances to a CSV
String without a header row.
(Defined by CsvConverterExtension) |
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. |
IEnumeratorCurrent | Gets the element in the collection at the current position of the enumerator. |
IEnumeratorMoveNext | Advances the enumerator to the next element of the collection. |
IEnumeratorReset | Throws a NotSupportedException. |
IEnumeratorTResultCurrent | Gets the element in the collection at the current position of the enumerator. |