Пример #1
0
 public static CT_FieldGroup Parse(XmlNode node, XmlNamespaceManager namespaceManager)
 {
     if (node == null)
         return null;
     CT_FieldGroup ctObj = new CT_FieldGroup();
     if (node.Attributes["par"] != null)
         ctObj.par = XmlHelper.ReadUInt(node.Attributes["par"]);
     if (node.Attributes["base"] != null)
         ctObj.@base = XmlHelper.ReadUInt(node.Attributes["base"]);
     foreach (XmlNode childNode in node.ChildNodes)
     {
         if (childNode.LocalName == "rangePr")
             ctObj.rangePr = CT_RangePr.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "discretePr")
             ctObj.discretePr = CT_DiscretePr.Parse(childNode, namespaceManager);
         else if (childNode.LocalName == "groupItems")
             ctObj.groupItems = CT_GroupItems.Parse(childNode, namespaceManager);
     }
     return ctObj;
 }
Пример #2
0
 public CT_CacheField()
 {
     this.extLstField = new CT_ExtensionList();
     this.mpMapField = new List<CT_X>();
     this.fieldGroupField = new CT_FieldGroup();
     this.sharedItemsField = new CT_SharedItems();
     this.serverFieldField = false;
     this.uniqueListField = true;
     this.sqlTypeField = 0;
     this.hierarchyField = 0;
     this.levelField = ((uint)(0));
     this.databaseFieldField = true;
     this.memberPropertyFieldField = false;
 }