C# Class ManicDigger.Csv

Exibir arquivo Open project: henon/manic_digger Class Usage Examples

Public Properties

Property Type Description
data string[][]

Public Methods

Method Description
Column ( string columnHeader ) : int?
Get ( int row, string column ) : string
GetBool ( int row, string columnHeader ) : bool
GetDouble ( int row, string column ) : double
GetInt ( int row, string columnHeader ) : int
LoadCsv ( string csv ) : void

Private Methods

Method Description
BoolParse ( string s ) : bool
DoubleParse ( string s ) : double

Method Details

Column() public method

public Column ( string columnHeader ) : int?
columnHeader string
return int?

Get() public method

public Get ( int row, string column ) : string
row int
column string
return string

GetBool() public method

public GetBool ( int row, string columnHeader ) : bool
row int
columnHeader string
return bool

GetDouble() public method

public GetDouble ( int row, string column ) : double
row int
column string
return double

GetInt() public method

public GetInt ( int row, string columnHeader ) : int
row int
columnHeader string
return int

LoadCsv() public method

public LoadCsv ( string csv ) : void
csv string
return void

Property Details

data public_oe property

public string[][] data
return string[][]