Esempio n. 1
0
 protected static bool EqualOperator(ValueObject left, ValueObject right)
 {
     if (ReferenceEquals(left, null) ^ ReferenceEquals(right, null))
     {
         return false;
     }
     return ReferenceEquals(left, null) || left.Equals(right);
 }
Esempio n. 2
0
 protected static bool NotEqualOperator(ValueObject left, ValueObject right)
 {
     return !(left == right);
 }