Esempio n. 1
0
 public ConditionItem(string name, QueryComparison comparison, ValueItem value, Type typeAs)
     : this(SetPropertyBlock(name), comparison, SetValueBlock(value), typeAs)
 {
 }
Esempio n. 2
0
 public ConditionItem(ValueItem property, QueryComparison comparison, object value, Type typeAs)
     : this(SetPropertyBlock(property), comparison, SetValueBlock(value), typeAs)
 {
 }
Esempio n. 3
0
 public ConditionItem(NodeBlock propertys, QueryComparison comparison, ValueItem value, Type typeAs)
     : this(propertys, comparison, SetValueBlock(value), typeAs)
 {
 }
Esempio n. 4
0
 public ConditionItem(ValueItem property, QueryComparison comparison, NodeBlock value, Type typeAs)
     : this(SetPropertyBlock(property), comparison, value, typeAs)
 {
 }
Esempio n. 5
0
        // static NodeBlock SetPropertyBlock(NodeBlock value) => value;

        static NodeBlock SetPropertyBlock(ValueItem value) => new NodeBlock(QueryArithmetic.Add, InsertionBehavior.Duplicates, value);