public FieldCompareCondition(JToken node) : base(node) { if (node["field"] != null) { this._Field = ObjectFactory.Create <IntegerField>(node["field"]); } }
public FieldCompareCondition(XmlElement node) : base(node) { foreach (XmlElement propertyNode in node.ChildNodes) { switch (propertyNode.Name) { case "field": this._Field = ObjectFactory.Create <IntegerField>(propertyNode); continue; } } }