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