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