Example #1
0
        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);
        }
Example #2
0
        public Dictionary <string, ICell> Column(string value, Row row)
        {
            var columnCell = Cell(value, row);

            return(columnCell != null?Columns.GetColumn(columnCell.ColumnNum) : null);
        }
Example #3
0
 public Dictionary <string, ICell> Column(int colNum)
 {
     return(Columns.GetColumn(colNum));
 }
Example #4
0
 public Dictionary <string, ICell> Column(string colName)
 {
     return(Columns.GetColumn(colName));
 }
Example #5
0
        private ICell Cell(string value, Column column)
        {
            int colIndex = column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num);

            return(Columns.GetColumn(colIndex).First(pair => pair.Value.GetValue().Equals(value)).Value);
        }