C# Class CsvFileWriter, chronojump

Class for writing to comma-separated-value (CSV) files.
Inheritance: CsvFileCommon, IDisposable
Afficher le fichier Open project: GNOME/chronojump Class Usage Examples

Méthodes publiques

Méthode Description
CsvFileWriter ( Stream stream ) : System

Initializes a new instance of the CsvFileWriter class for the specified stream.

CsvFileWriter ( string path ) : System

Initializes a new instance of the CsvFileWriter class for the specified file path.

Dispose ( ) : void
WriteRow ( List columns ) : void

Writes a row of columns to the current CSV file.

Method Details

CsvFileWriter() public méthode

Initializes a new instance of the CsvFileWriter class for the specified stream.
public CsvFileWriter ( Stream stream ) : System
stream Stream The stream to write to
Résultat System

CsvFileWriter() public méthode

Initializes a new instance of the CsvFileWriter class for the specified file path.
public CsvFileWriter ( string path ) : System
path string The name of the CSV file to write to
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

WriteRow() public méthode

Writes a row of columns to the current CSV file.
public WriteRow ( List columns ) : void
columns List The list of columns to write
Résultat void