Exemplo n.º 1
0
        public void getNetworks(ref List <NetworkBean> networks)
        {
            if (networks == null)
            {
                networks = new List <NetworkBean>();
            }

            XmlNodeList xmlNodeList = getNetworks();

            foreach (XmlNode node in xmlNodeList)
            {
                NetworkBean network = new NetworkBean();

                network.group1 = XmlMapping.findGroupById(getNodeAttrValue(node, AttrType.Target));
                network.group2 = XmlMapping.findGroupById(getNodeAttrValue(node, AttrType.Source));

                getLinks(network, node);

                networks.Add(network);
            }
        }
Exemplo n.º 2
0
 public MyXml(string filename)
 {
     XmlMapping mapping = new XmlMapping(filename);
 }
Exemplo n.º 3
0
 public MyXml(string filename)
 {
     XmlMapping mapping = new XmlMapping(filename);
 }