public Cell _parseCell(XElement cellNode) { Cell cell = new Cell(); cell.Name = cellNode.Attribute("name").Value.ToString(); foreach (XElement currentNode in cellNode.Elements()) { Console.WriteLine("processing Component .............. : " + currentNode.Name); if (currentNode.Name.LocalName.Trim() == "Component") { Component component = _parseComponent(currentNode); cell.addComponent(component); } } return cell; }
public void addCell(Cell cell) { cells.Add(cell); }
public void addCell(string name, Cell cell) { cellMap.Add(name, cell); }