EmailAddressStrictEqualityComparer
Namespace: Proffer.Email.Internal
Supports the comparison of IEmailAddress for equality when both the email address and the display name should match.
public class EmailAddressStrictEqualityComparer : 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> → EmailAddressStrictEqualityComparer
Implements IEqualityComparer, IEqualityComparer<IEmailAddress>
Constructors
EmailAddressStrictEqualityComparer()
public EmailAddressStrictEqualityComparer()
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.