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