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