GetColumn() public méthode

public GetColumn ( int colNum ) : ICell>.Dictionary
colNum int
Résultat ICell>.Dictionary
Exemple #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);
        }
Exemple #2
0
 public Dictionary <string, ICell> Column(string colName)
 {
     return(Columns.GetColumn(colName));
 }
Exemple #3
0
        public Dictionary <string, ICell> Column(string value, Row row)
        {
            var columnCell = Cell(value, row);

            return(columnCell != null?Columns.GetColumn(columnCell.ColumnNum) : null);
        }
Exemple #4
0
 public Dictionary <string, ICell> Column(int colNum)
 {
     return(Columns.GetColumn(colNum));
 }