Method WriteRow
WriteRow(SharedTableEntry, IList<StringTableEntry>, CsvWriter)
Called when writing each row of the CSV file. This is called in the same order as WriteBegin(StringTableCollection, CsvWriter) and expects each
column that was written to be populated each time. If a column will not always contain a value, you can use writer.WriteField(string.Empty)
.
Declaration
public abstract void WriteRow(SharedTableData.SharedTableEntry keyEntry, IList<StringTableEntry> tableEntries, CsvWriter writer)
Parameters
Type | Name | Description |
---|---|---|
SharedTableData.SharedTableEntry | keyEntry | The shared table data for the current entry that is being written to the row. |
IList<StringTableEntry> | tableEntries | The locale specific table entries for this row. |
CsvWriter | writer | Provides write acces to the CSV file. |