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