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