Пример #1
0
 public static CT_Pages Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_Pages ctObj = new CT_Pages();
     if (node.Attributes["count"] != null)
         ctObj.count = XmlHelper.ReadUInt(node.Attributes["count"]);
     ctObj.page = new List<CT_PCDSCPage>();
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "page")
             ctObj.page.Add(CT_PCDSCPage.Parse(childNode, namespaceManager));
     }
     return ctObj;
 }
Пример #2
0
 public CT_Consolidation()
 {
     this.rangeSetsField = new CT_RangeSets();
     this.pagesField = new CT_Pages();
     this.autoPageField = true;
 }