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