akamsteeg / AtleX.HaveIBeenPwned

A fully async .NET Standard client library for the API of HaveIBeenPwned.com
https://www.nuget.org/packages/AtleX.HaveIBeenPwned/
MIT License
5 stars 0 forks source link

Implement the == & != operators in our models #100

Closed akamsteeg closed 4 months ago

akamsteeg commented 4 months ago

In Breach, DomainUser, Paste and SiteBreach we override .Equals(object) and implement IEquatable<T> so we can compare objects using the different .Equals() methods. However, we're not implementing the equality operators == and != so people using those to compare objects are out of luck. We should implement these operators on all our domain classes.