Exemple #1
0
 public ICell CellMatch(String regex)
 {
     return(Rows.Get().Select(row => row.Value.First(pair => pair.Value.GetText().Matches(regex)).Value).FirstOrDefault(result => result != null));
 }
Exemple #2
0
 public List <string> RowValue(string rowName)
 {
     return(Rows.GetRowValue(rowName));
 }
Exemple #3
0
 public ICell Cell(string value)
 {
     return(Rows.Get().Select(row => row.Value.First(pair => pair.Value.GetText().Equals(value)).Value).FirstOrDefault(result => result != null));
 }
Exemple #4
0
 public List <string> RowValue(int rowNum)
 {
     return(Rows.GetRowValue(rowNum));
 }
Exemple #5
0
 public Dictionary <string, ICell> Row(string rowName)
 {
     return(Rows.GetRow(rowName));
 }
Exemple #6
0
 public Dictionary <string, ICell> Row(int rowNum)
 {
     return(Rows.GetRow(rowNum));
 }
Exemple #7
0
        private object Row(string value, Column column)
        {
            ICell rowCell = Cell(value, column);

            return(rowCell != null?Rows.GetRow(rowCell.RowNum()) : null);
        }
Exemple #8
0
 public void Clean()
 {
     AllCells = new List <ICell>();
     Columns.Clean();
     Rows.Clean();
 }