EmailAttachmentEqualityComparer

Namespace: Proffer.Email.Internal

Supports the comparison of IEmailAttachment for equality.

public class EmailAttachmentEqualityComparer : Proffer.EqualityComparerBase`1[[Proffer.Email.IEmailAttachment, Proffer.Email, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Collections.IEqualityComparer, System.Collections.Generic.IEqualityComparer`1[[Proffer.Email.IEmailAttachment, Proffer.Email, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectEqualityComparer<IEmailAttachment> → EqualityComparerBase<IEmailAttachment> → EmailAttachmentEqualityComparer
Implements IEqualityComparer, IEqualityComparer<IEmailAttachment>

Constructors

EmailAttachmentEqualityComparer()

public EmailAttachmentEqualityComparer()

Methods

GetEqualityComponents(IEmailAttachment)

Gets the object’s components that participate in equality comparisons.

protected IEnumerable<object> GetEqualityComponents(IEmailAttachment obj)

Parameters

obj IEmailAttachment
The object.

Returns

IEnumerable<Object>

        An enumerable containing the properties values.