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;
        }
Example #2
0
 public void addCell(Cell cell)
 {
     cells.Add(cell);
 }
Example #3
0
 public void addCell(string name, Cell cell)
 {
     cellMap.Add(name, cell);
 }