Inheritance: TableLine
示例#1
0
文件: Table.cs 项目: zgorcsos/JDI
 public SelectableElement Header(string name)
 {
     return(Columns.Header(name));
 }
示例#2
0
文件: Table.cs 项目: zgorcsos/JDI
        public ICell Cell(string value, Column column)
        {
            var colIndex = column.Get(name => Columns.Headers.IndexOf(name) + 1, num => num);

            return(Columns.GetColumn(colIndex).FirstOrDefault(pair => pair.Value.Value.Equals(value)).Value);
        }
示例#3
0
文件: Table.cs 项目: zgorcsos/JDI
 public IList <string> ColumnValue(string colName)
 {
     return(Columns.GetColumnValue(colName));
 }
示例#4
0
文件: Table.cs 项目: zgorcsos/JDI
 public Dictionary <string, SelectableElement> Header()
 {
     return(Columns.Header());
 }
示例#5
0
文件: Table.cs 项目: zgorcsos/JDI
 public IList <string> ColumnValue(int colNum)
 {
     return(Columns.GetColumnValue(colNum));
 }
示例#6
0
文件: Table.cs 项目: zgorcsos/JDI
        public Dictionary <string, ICell> Column(string value, Row row)
        {
            var columnCell = Cell(value, row);

            return(columnCell != null?Columns.GetColumn(columnCell.ColumnNum) : null);
        }
示例#7
0
文件: Table.cs 项目: zgorcsos/JDI
 public Dictionary <string, ICell> Column(string colName)
 {
     return(Columns.GetColumn(colName));
 }
示例#8
0
文件: Table.cs 项目: zgorcsos/JDI
 public Dictionary <string, ICell> Column(int colNum)
 {
     return(Columns.GetColumn(colNum));
 }
示例#9
0
文件: Table.cs 项目: zgorcsos/JDI
 public void Clean()
 {
     AllCells = new List <ICell>();
     Columns.Clean();
     Rows.Clean();
 }