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