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