Adf.Business.ValueObject.Email.Equals C# (CSharp) Method

Equals() public method

Compares this instance to another object.
public Equals ( object obj ) : bool
obj object The object to compare against.
return bool
        public override bool Equals(object obj)
        {
            // Make sure the cast that follows won't fail
            if (obj == null || obj.GetType() != GetType())
                return false;

            return (this == (Email)obj);
        }