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