GetRow() public method

public GetRow ( int rowNum ) : ICell>.Dictionary
rowNum int
return ICell>.Dictionary
Beispiel #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);
        }
Beispiel #2
0
 public Dictionary <string, ICell> Row(int rowNum)
 {
     return(Rows.GetRow(rowNum));
 }
Beispiel #3
0
 public Dictionary <string, ICell> Row(string rowName)
 {
     return(Rows.GetRow(rowName));
 }
Beispiel #4
0
        public Dictionary <string, ICell> Row(string value, Column column)
        {
            var rowCell = Cell(value, column);

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