Exemple #1
0
 public ReadOnlyDictionary <string, SelectElement> Header()
 {
     return(Columns.Header());
 }
Exemple #2
0
 public SelectElement Header(string name)
 {
     return(Columns.Header(name));
 }
Exemple #3
0
 public List <string> ColumnValue(int colNum)
 {
     return(Columns.GetColumnValue(colNum));
 }
Exemple #4
0
 public List <string> ColumnValue(string colName)
 {
     return(Columns.GetColumnValue(colName));
 }
Exemple #5
0
        private ICell Cell(string value, Column column)
        {
            int colIndex = column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num);

            return(Columns.GetColumn(colIndex).First(pair => pair.Value.GetValue().Equals(value)).Value);
        }
Exemple #6
0
        public Dictionary <string, ICell> Column(string value, Row row)
        {
            ICell columnCell = Cell(value, row);

            return(columnCell != null?Columns.GetColumn(columnCell.ColumnNum()) : null);
        }
Exemple #7
0
 public Dictionary <string, ICell> Column(string colName)
 {
     return(Columns.GetColumn(colName));
 }
Exemple #8
0
 public Dictionary <string, ICell> Column(int colNum)
 {
     return(Columns.GetColumn(colNum));
 }
Exemple #9
0
 public void Clean()
 {
     AllCells = new List <ICell>();
     Columns.Clean();
     Rows.Clean();
 }