Exemple #1
0
 public StringValueCompare(LogicGates logic,
                           CompareGates gate,
                           ObjectChooseOptions options,
                           Func <JObject, string> selectorA,
                           Func <JObject, string> selectorB) : base(gate, options, selectorA, selectorB)
 {
 }
Exemple #2
0
 public GivenObjectCompare(
     CompareGates gate,
     Func <JObject, object> selector,
     Func <IEnumerable <object> > compareTo,
     ObjectChooseOptions options = ObjectChooseOptions.ChooseA)
 {
     this.funComapreTo = compareTo;
     this.funSelector  = selector;
     this.compareGate  = gate;
     this.Option       = options;
 }
Exemple #3
0
 public GivenStringCompare(
     IEnumerable <string> compareto,
     string refFieldName = null,
     string outStr       = null,
     CompareGates gate   = CompareGates.EqualTo)
 {
     this.Gate         = gate;
     this.CompareTo    = compareto;
     this.OutStr       = outStr;
     this.RefFieldName = refFieldName;
 }
Exemple #4
0
 public JObjectCompare(
     CompareGates gate,
     ObjectChooseOptions objectChoose,
     Func <JObject, VType> selectorA,
     Func <JObject, VType> selectorB)
 {
     this.SelectorA   = selectorA;
     this.SelectorB   = selectorB;
     this.CompareGate = gate;
     this.Option      = objectChoose;
 }
Exemple #5
0
 public LogicalExpression(CompareGates compare, string fieldName, params T[] values)
 {
     this.Compare   = compare;
     this.FieldName = fieldName;
     this.Values    = values;
 }
 public NumericalLogicalExpression(CompareGates compare, string fieldName, params decimal[] values)
     : base(compare, fieldName, values)
 {
 }
 public StringLogicalExpression(CompareGates compare, string fieldName, params string[] values)
     : base(compare, fieldName, values)
 {
 }
Exemple #8
0
 public DateValueCompare(CompareGates gate,
                         ObjectChooseOptions options,
                         Func <JObject, DateTime?> selectorA,
                         Func <JObject, DateTime?> selectorB) : base(gate, options, selectorA, selectorB)
 {
 }