Пример #1
0
 public TubeMogulSyndicationFeedFilter(JToken node) : base(node)
 {
     if (node["orderBy"] != null)
     {
         this._OrderBy = (TubeMogulSyndicationFeedOrderBy)StringEnum.Parse(typeof(TubeMogulSyndicationFeedOrderBy), node["orderBy"].Value <string>());
     }
 }
 public TubeMogulSyndicationFeedFilter(XmlElement node) : base(node)
 {
     foreach (XmlElement propertyNode in node.ChildNodes)
     {
         switch (propertyNode.Name)
         {
         case "orderBy":
             this._OrderBy = (TubeMogulSyndicationFeedOrderBy)StringEnum.Parse(typeof(TubeMogulSyndicationFeedOrderBy), propertyNode.InnerText);
             continue;
         }
     }
 }