netcore-csv
Public Member Functions | Properties | List of all members
CsvFile< T > Class Template Reference

manage csv file properties such as pathfilename, field separator, decimal separator and templated object columns More...

Inheritance diagram for CsvFile< T >:
Inheritance graph
[legend]

Public Member Functions

 CsvFile (string pathfilename, CsvOptions options)
 csv reader/writer base class.
More...
 
 CsvFile (string pathfilename, bool append, CsvOptions options)
 csv reader/writer base class.
More...
 

Properties

string Pathfilename [get]
 
CsvOptions Options [get]
 
char StringDelimiter [get]
 
char FieldSeparator [get]
 
char DecimalSeparator [get]
 
bool DecimalSeparatorIsInvariant [get]
 
IReadOnlyList< CsvColumnColumns [get]
 
bool AppendMode [get]
 if file exists with size great than 0 then header will not placed else file will overwritten with new starting header,
More...
 

Detailed Description

manage csv file properties such as pathfilename, field separator, decimal separator and templated object columns

Type Constraints
T :class 

Constructor & Destructor Documentation

◆ CsvFile() [1/2]

CsvFile ( string  pathfilename,
CsvOptions  options 
)

csv reader/writer base class.


◆ CsvFile() [2/2]

CsvFile ( string  pathfilename,
bool  append,
CsvOptions  options 
)

csv reader/writer base class.


Parameters
appendif file exists with size great than 0 then header will not placed else file will overwritten with new starting header,


Property Documentation

◆ AppendMode

bool AppendMode
get

if file exists with size great than 0 then header will not placed else file will overwritten with new starting header,

◆ Columns

IReadOnlyList<CsvColumn> Columns
get

◆ DecimalSeparator

char DecimalSeparator
get

◆ DecimalSeparatorIsInvariant

bool DecimalSeparatorIsInvariant
get

◆ FieldSeparator

char FieldSeparator
get

◆ Options

CsvOptions Options
get

◆ Pathfilename

string Pathfilename
get

◆ StringDelimiter

char StringDelimiter
get

The documentation for this class was generated from the following file: