protected static bool EqualOperator(ValueObjectBase left, ValueObjectBase right) { if (left is null ^ right is null) { return(false); } return(left?.Equals(right) != false); }
protected static bool NotEqualOperator(ValueObjectBase left, ValueObjectBase right) { return(!(EqualOperator(left, right))); }