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