public override int GetHashCode() { unchecked { var hashCode = (Family != null ? Family.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Surname != null ? Surname.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Pol; hashCode = (hashCode * 397) ^ DateRo.GetHashCode(); hashCode = (hashCode * 397) ^ DateSm.GetHashCode(); hashCode = (hashCode * 397) ^ (Dop != null ? Dop.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (Family != null ? Family.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Surname != null ? Surname.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Pol; hashCode = (hashCode * 397) ^ DateRo.GetHashCode(); hashCode = (hashCode * 397) ^ DateSm.GetHashCode(); hashCode = (hashCode * 397) ^ (Country != null ? Country.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TypeUl != null ? TypeUl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Street != null ? Street.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (House != null ? House.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Apartament != null ? Apartament.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Housing != null ? Housing.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PlaceWork != null ? PlaceWork.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Dop != null ? Dop.GetHashCode() : 0); hashCode = (hashCode * 397) ^ DateExit.GetHashCode(); return(hashCode); } }
protected bool Equals(StructuresAlone other) { return(string.Equals(Family, other.Family) && string.Equals(Name, other.Name) && string.Equals(Surname, other.Surname) && Pol == other.Pol && DateRo.Equals(other.DateRo) && DateSm.Equals(other.DateSm) && string.Equals(Country, other.Country) && string.Equals(TypeUl, other.TypeUl) && string.Equals(Street, other.Street) && string.Equals(House, other.House) && string.Equals(Apartament, other.Apartament) && string.Equals(Housing, other.Housing) && string.Equals(Phone, other.Phone) && string.Equals(PlaceWork, other.PlaceWork) && string.Equals(Dop, other.Dop) && DateExit.Equals(other.DateExit)); }
protected bool Equals(StructuresSojitel other) { return(string.Equals(Family, other.Family) && string.Equals(Name, other.Name) && string.Equals(Surname, other.Surname) && Pol == other.Pol && DateRo.Equals(other.DateRo) && DateSm.Equals(other.DateSm) && string.Equals(Dop, other.Dop)); }