Method | Description | |
---|---|---|
CsvRenderer ( char delimiter, |
Creates new instance of this class.
|
|
Render ( IEnumerable |
||
StartNewLine ( ) : void |
Wraps value writing cursor to new line.
|
|
WriteBlock ( StringBuilder stream ) : void | ||
WriteLine ( ) : void |
Writes array of values as a row in CSV file.
|
|
WriteValue ( string value ) : void |
Write single value in the current row at the current cursor position.
|
Method | Description | |
---|---|---|
NeedEscape ( string value ) : bool | ||
WriteEscapedValue ( string value, |
public CsvRenderer ( char delimiter, |
||
delimiter | char | Delimiter to separate columns. |
textWriter | Where to write CSV text. | |
return | System |
public Render ( IEnumerable |
||
columnNames | IEnumerable |
|
return | void |
public WriteBlock ( StringBuilder stream ) : void | ||
stream | StringBuilder | |
return | void |
public WriteValue ( string value ) : void | ||
value | string | Single value to write at the current cursor position. |
return | void |