Exemplo n.º 1
0
 public override int GetHashCode()
 {
     return(Surname.GetHashCode() ^
            Name.GetHashCode() ^
            Patronymic.GetHashCode() ^
            RegionalCollectionPoint.GetHashCode());
 }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            var hashCode = 17;

            hashCode = hashCode * 31 + Surname.GetHashCode();
            hashCode = hashCode * 31 + Name.GetHashCode();
            hashCode = hashCode * 31 + Patronymic.GetHashCode();
            hashCode = hashCode * 31 + DepartmentType.GetHashCode();

            return(hashCode);
        }
Exemplo n.º 3
0
    public override int GetHashCode()
    {
        unchecked
        {
            var hash = Name.GetHashCode();

            hash = (hash * 397) ^ LastName.GetHashCode();
            hash = (hash * 397) ^ Patronymic.GetHashCode();
            hash = (hash * 397) ^ Birthday.GetHashCode();

            return(hash);
        }
    }
Exemplo n.º 4
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = EmployeeId;
         hashCode = (hashCode * 397) ^ PositionId;
         hashCode = (hashCode * 397) ^ (FirstName != null ? FirstName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LastName != null ? LastName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Patronymic != null ? Patronymic.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ BirthDate.GetHashCode();
         hashCode = (hashCode * 397) ^ (Address != null ? Address.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Education != null ? Education.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ EmploymentDate.GetHashCode();
         hashCode = (hashCode * 397) ^ Deleted.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 5
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = ResumeId;
         hashCode = (hashCode * 397) ^ VacancyId;
         hashCode = (hashCode * 397) ^ (FirstName != null ? FirstName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (LastName != null ? LastName.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Patronymic != null ? Patronymic.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ BirthDate.GetHashCode();
         hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Email != null ? Email.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Education != null ? Education.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Institution != null ? Institution.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Specialty != null ? Specialty.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ Deleted.GetHashCode();
         return(hashCode);
     }
 }
Exemplo n.º 6
0
 public override int GetHashCode()
 {
     return(Surname.GetHashCode() ^ Name.GetHashCode() ^ Patronymic.GetHashCode());
 }