示例#1
0
 public UiConfAdminFilter(JToken node) : base(node)
 {
     if (node["orderBy"] != null)
     {
         this._OrderBy = (UiConfAdminOrderBy)StringEnum.Parse(typeof(UiConfAdminOrderBy), node["orderBy"].Value <string>());
     }
 }
 public UiConfAdminFilter(XmlElement node) : base(node)
 {
     foreach (XmlElement propertyNode in node.ChildNodes)
     {
         switch (propertyNode.Name)
         {
         case "orderBy":
             this._OrderBy = (UiConfAdminOrderBy)StringEnum.Parse(typeof(UiConfAdminOrderBy), propertyNode.InnerText);
             continue;
         }
     }
 }