예제 #1
0
        public static void XmlLoad(this List <TableIndex> list, XmlNode node, INHydrateModelObject root)
        {
            var nodes = node.SelectNodes("ti");

            foreach (XmlNode n in nodes)
            {
                var newItem = new TableIndex(root);
                newItem.XmlLoad(n);
                list.Add(newItem);
            }
        }
예제 #2
0
 public static XmlNode XmlLoad(this List <TableIndex> list, XmlNode node, INHydrateModelObject root)
 {
     if (node == null)
     {
         return(node);
     }
     foreach (XmlNode n in node.SelectNodes("ti"))
     {
         var newItem = new TableIndex(root);
         newItem.XmlLoad(n);
         list.Add(newItem);
     }
     return(node);
 }