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