GetRow() public méthode

public GetRow ( int rowNum ) : ICell>.Dictionary
rowNum int
Résultat ICell>.Dictionary
Exemple #1
0
        public ICell Cell(string value, Row row)
        {
            var rowNum = row.HasName ? Rows.Headers.IndexOf(row.Name) + 1 : row.Num;

            return(Rows.GetRow(rowNum).FirstOrDefault(pair => pair.Value.Value.Equals(value)).Value);
        }
Exemple #2
0
 public Dictionary <string, ICell> Row(int rowNum)
 {
     return(Rows.GetRow(rowNum));
 }
Exemple #3
0
 public Dictionary <string, ICell> Row(string rowName)
 {
     return(Rows.GetRow(rowName));
 }
Exemple #4
0
        public Dictionary <string, ICell> Row(string value, Column column)
        {
            var rowCell = Cell(value, column);

            return(rowCell != null?Rows.GetRow(rowCell.RowNum) : null);
        }