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