public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (registrationDate_ != null) { hash ^= RegistrationDate.GetHashCode(); } if (CompanyWebsite.Length != 0) { hash ^= CompanyWebsite.GetHashCode(); } if (ContactPhone.Length != 0) { hash ^= ContactPhone.GetHashCode(); } if (ContactName.Length != 0) { hash ^= ContactName.GetHashCode(); } if (CompanyLogo.Length != 0) { hash ^= CompanyLogo.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = IdVer.GetHashCode() + IdSubVer.GetHashCode() + Timestamp.GetHashCode() + (IdCustomer == null ? 0 : IdCustomer.GetHashCode()) + (CustomerName == null ? 0 : CustomerName.GetHashCode()) + Active.GetHashCode() + (VATNum == null ? 0 : VATNum.GetHashCode()) + (ShippingAddress == null ? 0 : ShippingAddress.GetHashCode()) + (ShippingAddressZh == null ? 0 : ShippingAddressZh.GetHashCode()) + (BillingAddress == null ? 0 : BillingAddress.GetHashCode()) + (BillingAddressZh == null ? 0 : BillingAddressZh.GetHashCode()) + (ContactName == null ? 0 : ContactName.GetHashCode()) + (ContactNameZh == null ? 0 : ContactNameZh.GetHashCode()) + (ContactPhone == null ? 0 : ContactPhone.GetHashCode()) + (Comments == null ? 0 : Comments.GetHashCode()) + (IdIncoterm == null ? 0 : IdIncoterm.GetHashCode()) + (IdPaymentTerms == null ? 0 : IdPaymentTerms.GetHashCode()) + (IdDefaultCurrency == null ? 0 : IdDefaultCurrency.GetHashCode()) + (User == null ? 0 : User.GetHashCode()); return(hashCode); }
public override int GetHashCode() { var hashCode = -931275965; hashCode = hashCode * -1521134295 + CustomerID.GetHashCode(); hashCode = hashCode * -1521134295 + CompanyName.GetHashCode(); hashCode = hashCode * -1521134295 + ContactName.GetHashCode(); hashCode = hashCode * -1521134295 + Address.GetHashCode(); hashCode = hashCode * -1521134295 + City.GetHashCode(); hashCode = hashCode * -1521134295 + Region.GetHashCode(); hashCode = hashCode * -1521134295 + PostalCode.GetHashCode(); hashCode = hashCode * -1521134295 + Country.GetHashCode(); hashCode = hashCode * -1521134295 + Phone.GetHashCode(); hashCode = hashCode * -1521134295 + Fax.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CompanyName != null ? CompanyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ContactName != null ? ContactName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ContactTitle != null ? ContactTitle.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Address != null ? Address.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (City != null ? City.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Region != null ? Region.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PostalCode != null ? PostalCode.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Country != null ? Country.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Fax != null ? Fax.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Picture != null ? Picture.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { const int hashBase = (int)2166136261; const int multiplier = 16777619; int hash = hashBase; hash = (hash * multiplier) ^ (ContactName is null ? 0 : ContactName.GetHashCode()); hash = (hash * multiplier) ^ (Department is null ? 0 : Department.GetHashCode()); hash = (hash * multiplier) ^ (Organisation is null ? 0 : Organisation.GetHashCode()); hash = (hash * multiplier) ^ (AddressLine1 is null ? 0 : AddressLine1.GetHashCode()); hash = (hash * multiplier) ^ (AddressLine2 is null ? 0 : AddressLine2.GetHashCode()); hash = (hash * multiplier) ^ (AddressLine3 is null ? 0 : AddressLine3.GetHashCode()); hash = (hash * multiplier) ^ (City is null ? 0 : City.GetHashCode()); hash = (hash * multiplier) ^ (PostCode is null ? 0 : PostCode.GetHashCode()); return(hash); } }
public override int GetHashCode() { return(ContactName.GetHashCode()); }
public override int GetHashCode() { return(User.GetHashCode() ^ Tenant.GetHashCode() ^ ContactName.GetHashCode() ^ Address.GetHashCode() ^ Description.GetHashCode() ^ Type.GetHashCode() ^ HasPhoto.GetHashCode()); }