Ejemplo 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);
 }
Ejemplo n.º 2
0
 protected static bool NotEqualOperator(ValueObject left, ValueObject right)
 {
     return !(left == right);
 }