示例#1
0
 public bool Equals(IAddressVM other)
 {
     throw new NotImplementedException();
 }
示例#2
0
 public bool Equals(IAddressVM other)
 {
     if (ReferenceEquals(this, other)) return true;
     if (other == null) return false;
     return StringHelpers.CompareStringsWithNullAsEmpty(HouseNumber, other.HouseNumber) &&
            StringHelpers.CompareStringsWithNullAsEmpty(AddressBody, other.AddressBody) &&
            StringHelpers.CompareStringsWithNullAsEmpty(Postcode, other.Postcode) &&
            StringHelpers.CompareStringsWithNullAsEmpty(PhoneNumber, other.PhoneNumber) &&
            StringHelpers.CompareStringsWithNullAsEmpty(ProofOfAddressPath, other.ProofOfAddressPath);
 }