EmailAddressEqualityComparer
Namespace: Proffer.Email.Internal
Supports the comparison of IEmailAddress for equality when the email address only should match.
public class EmailAddressEqualityComparer : Proffer.EqualityComparerBase`1[[Proffer.Email.IEmailAddress, Proffer.Email, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.IEqualityComparer, System.Collections.Generic.IEqualityComparer`1[[Proffer.Email.IEmailAddress, Proffer.Email, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → EqualityComparer<IEmailAddress> → EqualityComparerBase<IEmailAddress> → EmailAddressEqualityComparer
Implements IEqualityComparer, IEqualityComparer<IEmailAddress>
Constructors
EmailAddressEqualityComparer()
public EmailAddressEqualityComparer()
Methods
GetEqualityComponents(IEmailAddress)
Gets the object’s components that participate in equality comparisons.
protected IEnumerable<object> GetEqualityComponents(IEmailAddress obj)
Parameters
obj
IEmailAddress
The object.
Returns
An enumerable containing the properties values.