public CsvRow Clone() { CsvRow csvRow = new CsvRow(this); for (int i = 0; i < csvRow.Length; i++) { csvRow[i] = new CsvValue(this[i]); } return(csvRow); }
public CsvColumn Clone() { CsvColumn csvColumn = new CsvColumn(this._key, this._raw.Count); for (int i = 0; i < csvColumn.Length; i++) { csvColumn[i] = new CsvValue(csvColumn[i]); } return(csvColumn); }
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 void Insert(int index, CsvValue value) { this._raw.Insert(index, value); }
public void Add(CsvValue value) { this._raw.Add(value); }
public CsvValue(CsvValue csvValue) { this._value = csvValue._value; }
public bool Equals(CsvValue obj) { return(obj._value.Trim().Equals(this._value.Trim())); }