示例#1
0
 public virtual bool Visit <T, TProperty>(PropertyLessThanOrEqualCondition <T, TProperty> condition,
                                          Func <SemanticVisitor, bool> next)
     where T : class
     where TProperty : IComparable <TProperty>
 {
     return(next(this));
 }
示例#2
0
 public bool Equals(PropertyLessThanOrEqualCondition <T, TProperty> other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && Equals(other._value, _value));
 }