public CsvRow(Csv csv) { this._key = new string[csv.ColumnLength]; string[] keyList = csv.GetKeyList(); this._column = new List <CsvValue>(); for (int i = 0; i < csv.ColumnLength; i++) { this._key[i] = keyList[i]; this._column.Add(new CsvValue()); } }
public void CopyTo(Csv csv) { this.Initialize(csv.RowLength, csv.GetKeyList()); for (int i = 0; i < csv.RowLength; i++) { for (int j = 0; j < csv.ColumnLength; j++) { this[j, i] = new CsvValue(csv[j, i]); } } }
public Csv(Csv csv) { this.Initialize(csv.RowLength, csv.GetKeyList()); for (int i = 0; i < this.ColumnLength; i++) { for (int j = 0; j < this.RowLength; j++) { this[i, j] = new CsvValue(csv[i, j]); } } }
public bool CheckMachKey(Csv csv) { return(this.CheckMachKey(csv.GetKeyList())); }