コード例 #1
0
ファイル: Row.cs プロジェクト: Corillian/FastExcel
 private IEnumerable<Cell> GetCells(XElement rowElement, SharedStrings sharedStrings)
 {
     foreach (XElement cellElement in rowElement.Elements())
     {
         Cell cell = new Cell(cellElement, sharedStrings);
         if (cell.Value != null)
         {
             yield return cell;
         }
     }
 }
コード例 #2
0
ファイル: Cell.cs プロジェクト: Corillian/FastExcel
 /// <summary>
 /// Merge the parameter cell into this cell
 /// </summary>
 /// <param name="cell">Cell to merge</param>
 public void Merge(Cell cell)
 {
     this.Value = cell.Value;
 }