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