Example #1
0
 protected static bool EqualOperator(ValueObject left, ValueObject right)
 => (ReferenceEquals(left, null) ^ ReferenceEquals(right, null)) is false &&
 (ReferenceEquals(left, null) || left.Equals(right));
Example #2
0
 protected static bool NotEqualOperator(ValueObject left, ValueObject right)
 => EqualOperator(left, right) is false;