Property | Type | Description | |
---|---|---|---|
IListSource | System.Collections.IList |
Method | Description | |
---|---|---|
CachedCsvReader ( |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader ( |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader ( |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader ( |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader ( |
Initializes a new instance of the CsvReader class.
|
|
CachedCsvReader ( |
Initializes a new instance of the CsvReader class.
|
|
MoveTo ( long record ) : bool |
Moves to the specified record index.
|
|
MoveToLastCachedRecord ( ) : void |
Moves to the last record read so far.
|
|
MoveToStart ( ) : void |
Moves before the first record.
|
|
ReadToEnd ( ) : void |
Reads the CSV stream from the current position to the end of the stream.
|
|
this ( int field ) : string |
Gets the field at the specified index.
|
Method | Description | |
---|---|---|
ReadNextRecord ( bool onlyReadHeaders, bool skipToNextLine ) : bool |
Reads the next record.
|
Method | Description | |
---|---|---|
IListSource ( ) : System.Collections.IList |
public CachedCsvReader ( |
||
reader | A |
|
hasHeaders | bool | |
return | System |
public CachedCsvReader ( |
||
reader | A |
|
hasHeaders | bool | |
delimiter | char | The delimiter character separating each field (default is ','). |
return | System |
public CachedCsvReader ( |
||
reader | A |
|
hasHeaders | bool | |
delimiter | char | The delimiter character separating each field (default is ','). |
quote | char | The quotation character wrapping every field (default is '''). |
escape | char | /// The escape character letting insert quotation characters inside a quoted field (default is '\'). /// If no escape character, set to '\0' to gain some performance. /// |
comment | char | The comment character indicating that a line is commented out (default is '#'). |
trimmingOptions | ValueTrimmingOptions | Determines how values should be trimmed. |
bufferSize | int | The buffer size in bytes. |
nullValue | string | The value which denotes a DbNull-value. |
return | System |
public CachedCsvReader ( |
||
reader | A |
|
hasHeaders | bool | |
delimiter | char | The delimiter character separating each field (default is ','). |
quote | char | The quotation character wrapping every field (default is '''). |
escape | char | /// The escape character letting insert quotation characters inside a quoted field (default is '\'). /// If no escape character, set to '\0' to gain some performance. /// |
comment | char | The comment character indicating that a line is commented out (default is '#'). |
trimmingOptions | ValueTrimmingOptions | Determines how values should be trimmed. |
nullValue | string | The value which denotes a DbNull-value. |
return | System |
public CachedCsvReader ( |
||
reader | A |
|
hasHeaders | bool | |
delimiter | char | The delimiter character separating each field (default is ','). |
bufferSize | int | The buffer size in bytes. |
return | System |
public CachedCsvReader ( |
||
reader | A |
|
hasHeaders | bool | |
bufferSize | int | The buffer size in bytes. |
return | System |
public MoveTo ( long record ) : bool | ||
record | long | The record index. |
return | bool |
protected ReadNextRecord ( bool onlyReadHeaders, bool skipToNextLine ) : bool | ||
onlyReadHeaders | bool |
/// Indicates if the reader will proceed to the next record after having read headers.
/// |
skipToNextLine | bool | /// Indicates if the reader will skip directly to the next line without parsing the current one. /// To be used when an error occurs. /// |
return | bool |