/// <summary/> protected void CheckColumn(CsvDataColumn column) { if (column == null) { throw new ArgumentNullException(nameof(column)); } if (column.Table != Table) { throw new ArgumentException("Column is not in the same CsvDataTable.", nameof(column)); } }
/// <summary> /// /// </summary> /// <param name="column"></param> /// <returns></returns> public CsvData this[CsvDataColumn column] { get { CheckColumn(column); return(GetDataAtColumnIndex(column.DataLevel)); } set { CheckColumn(column); SetDataAtColumnIndex(column.DataLevel, value); } }