Class TsvWriter
A writer for the TSV (tab-separated values) format.
public class TsvWriter : BaseTableWriter
- Inheritance
-
TsvWriter
- Inherited Members
Properties
ConfigExtension
Gets the extension of the configuration files of the format, with the leading dot (e.g., ".jsoncfg"), or an empty string if the writer does not write configuration files.
public override string ConfigExtension { get; }
Property Value
FormatName
Gets the name of the format (e.g., "JSON" or "RESX"), which is also used in error messages.
public override string FormatName { get; }
Property Value
TranslationExtension
Gets the extension of the translation files of the format, with the leading dot (e.g., ".json").
public override string TranslationExtension { get; }
Property Value
Methods
EndRow(StringBuilder)
Ends the current row.
protected override void EndRow(StringBuilder sb)
Parameters
sbStringBuilderThe builder of the file.
WriteCell(string, StringBuilder)
Appends a cell with the given value to the current row, quoting and escaping the value as the format requires.
protected override void WriteCell(string value, StringBuilder sb)
Parameters
valuestringThe value of the cell.
sbStringBuilderThe builder of the file.