C# Class Tp.Utils.Csv.CsvReader

Inheritance: IDisposable
Afficher le fichier Open project: TargetProcess/Target-Process-Plugins

Méthodes publiques

Méthode Description
CsvReader ( TextReader reader ) : System
CsvReader ( TextReader reader, bool parseHeader ) : System
CsvReader ( TextReader reader, char delimiter ) : System
CsvReader ( TextReader reader, char delimiter, bool parseHeader ) : System
Dispose ( ) : void
Read ( ) : bool
this ( int index ) : string

Get field at the specified position.

this ( string column ) : string

Get field of the column of the specified name,

Private Methods

Méthode Description
ReadChar ( ) : void

Method Details

CsvReader() public méthode

public CsvReader ( TextReader reader ) : System
reader TextReader
Résultat System

CsvReader() public méthode

public CsvReader ( TextReader reader, bool parseHeader ) : System
reader TextReader
parseHeader bool
Résultat System

CsvReader() public méthode

public CsvReader ( TextReader reader, char delimiter ) : System
reader TextReader
delimiter char
Résultat System

CsvReader() public méthode

public CsvReader ( TextReader reader, char delimiter, bool parseHeader ) : System
reader TextReader
delimiter char
parseHeader bool
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Read() public méthode

public Read ( ) : bool
Résultat bool

this() public méthode

Get field at the specified position.
/// If is negative. /// /// If is larger than number of columns in header. ///
public this ( int index ) : string
index int /// Field position, starting from zero. ///
Résultat string

this() public méthode

Get field of the column of the specified name,
/// If is null. /// /// If header has not been read. /// /// If specifies unknown column. ///
public this ( string column ) : string
column string /// Column name. ///
Résultat string