public override int GetHashCode() { unchecked { var hashCode = (Address != null ? Address.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TelefoneNumbers != null ? TelefoneNumbers.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (OfficeHours != null ? OfficeHours.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ContactTimes != null ? ContactTimes.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Location != null ? Location.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (int)Gender; hashCode = (hashCode * 397) ^ (FamilyName != null ? FamilyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Languages != null ? Languages.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Qualifications != null ? Qualifications.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TelefoneNumbers != null ? TelefoneNumbers.GetHashCode() : 0); hashCode = (hashCode * 397) ^ ID.GetHashCode(); hashCode = (hashCode * 397) ^ (Offices != null ? Offices.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (KVNWebsite != null ? KVNWebsite.GetHashCode() : 0); return(hashCode); } }