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