public SelectableElement Header(string name) { return(Columns.Header(name)); }
public ICell Cell(string value, Column column) { var colIndex = column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num); return(Columns.GetColumn(colIndex).FirstOrDefault(pair => pair.Value.Value.Equals(value)).Value); }
public IList <string> ColumnValue(string colName) { return(Columns.GetColumnValue(colName)); }
public Dictionary <string, SelectableElement> Header() { return(Columns.Header()); }
public IList <string> ColumnValue(int colNum) { return(Columns.GetColumnValue(colNum)); }
public Dictionary <string, ICell> Column(string value, Row row) { var columnCell = Cell(value, row); return(columnCell != null?Columns.GetColumn(columnCell.ColumnNum) : null); }
public Dictionary <string, ICell> Column(string colName) { return(Columns.GetColumn(colName)); }
public Dictionary <string, ICell> Column(int colNum) { return(Columns.GetColumn(colNum)); }
public void Clean() { AllCells = new List <ICell>(); Columns.Clean(); Rows.Clean(); }