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