Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 public object Any(MsgPackEmail request)
 {
     return(request);
 }
Exemplo n.º 4
0
 public object Any(MsgPackEmail request)
 {
     return request;
 }