C# Class CsvFileWriter, chronojump

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

Public Methods

Method 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 method

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

CsvFileWriter() public method

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
return System

Dispose() public method

public Dispose ( ) : void
return void

WriteRow() public method

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