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