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