示例#1
0
 private IValuable <G> IsNotEqualTo(int value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data != value));
 }
示例#2
0
 private IValuable <G> IsEqualTo(long value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data == value));
 }
示例#3
0
 private IValuable <G> IsLessThan(long value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data < value));
 }
示例#4
0
 private IValuable <G> IsLessThanOrEqualTo(int value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data <= value));
 }
示例#5
0
 private IValuable <G> IsGreaterThan(int value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data > value));
 }
示例#6
0
 private IValuable <G> IsGreaterThanOrEqualTo(long value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data >= value));
 }
示例#7
0
 public IValuable <G> IsNotEqualTo(IValuable <G> value, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(!Equals(value)));
 }
示例#8
0
 private IValuable <G> IsNotEqualTo(IValue <G, string> stringValue, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data != stringValue.Data));
 }
示例#9
0
 public IValuable <G> Not(IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(!Data));
 }
示例#10
0
 private IValuable <G> Or(IValue <G, bool> booleanValue, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data | booleanValue.Data));
 }
示例#11
0
 private IValuable <G> IsNotEqualTo(IValue <G, bool> booleanValue, IValueProvider <G> valueProvider)
 {
     return(valueProvider.GetBoolean(Data != booleanValue.Data));
 }