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