RazorRockstars.Console.Files.MsgPackEmail.Equals C# (CSharp) Method

Equals() public method

public Equals ( MsgPackEmail other ) : bool
other MsgPackEmail
return bool
        public bool Equals(MsgPackEmail other)
        {
            if (ReferenceEquals(null, other)) return false;
            if (ReferenceEquals(this, other)) return true;
            return Equals(other.ToAddress, ToAddress)
                && Equals(other.FromAddress, FromAddress)
                && Equals(other.Subject, Subject)
                && Equals(other.Body, Body)
                && other.AttachmentData.EquivalentTo(AttachmentData);
        }

Same methods

MsgPackEmail::Equals ( object obj ) : bool