Exemplo n.º 1
0
 public ICell Cell(IWebElement webElement, Column column, Row row)
 {
     return(AddCell(webElement,
                    column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num),
                    row.Get(name => Rows.Headers.IndexOf(name) + 1, num => num),
                    column.Get(name => name, num => ""),
                    row.Get(name => name, num => "")));
 }
Exemplo n.º 2
0
        public ICell Cell(Column column, Row row)
        {
            int colIndex = column.Get(GetColumnIndex, num => num + Columns.StartIndex - 1);
            int rowIndex = (int)row.Get(GetRowIndex, num => num + Rows.StartIndex - 1);

            return(AddCell(colIndex, rowIndex,
                           column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num),
                           row.Get(name => Rows.Headers.IndexOf(name) + 1, num => num),
                           column.Get(name => name, num => ""),
                           row.Get(name => name, num => "")));
        }
Exemplo n.º 3
0
 private Dictionary <string, ICell> Row(Row row)
 {
     return(row.Get(Row, Row));
 }
Exemplo n.º 4
0
 public ICell Cell(IWebElement webElement, Column column, Row row)
 {
     return AddCell(webElement,
         column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num),
         row.Get(name => Rows.Headers.IndexOf(name) + 1, num => num),
         column.Get(name => name, num => ""),
         row.Get(name => name, num => ""));
 }
Exemplo n.º 5
0
 public ICell Cell(Column column, Row row)
 {
     int colIndex = column.Get(GetColumnIndex, num => num + Columns.StartIndex - 1);
     int rowIndex = (int) row.Get(GetRowIndex, num => num + Rows.StartIndex - 1);
     return AddCell(colIndex, rowIndex,
         column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num),
         row.Get(name => Rows.Headers.IndexOf(name) + 1, num => num),
         column.Get(name => name, num => ""),
         row.Get(name => name, num => ""));
 }
Exemplo n.º 6
0
 private Dictionary<string, ICell> Row(Row row)
 {
     return row.Get(Row, Row);
 }