ServiceStack.WebHost.Endpoints.Tests.ProtoBufEmail.Equals C# (CSharp) Метод

Equals() публичный Метод

public Equals ( ProtoBufEmail other ) : bool
other ProtoBufEmail
Результат bool
		public bool Equals(ProtoBufEmail 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

ProtoBufEmail::Equals ( object obj ) : bool