public override int GetHashCode()
 {
     unchecked
     {
         return(((StartYear != null ? StartYear.GetHashCode() : 0) * 397) ^ (EndYear != null ? EndYear.GetHashCode() : 0));
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id;
         hashCode = (hashCode * 397) ^ (StartYear != null ? StartYear.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (EndYear != null ? EndYear.GetHashCode() : 0);
         return(hashCode);
     }
 }
示例#3
0
        public override int GetHashCode()
        {
            if (hashCode != 0)
            {
                return(hashCode);
            }

            hashCode = StartYear.GetHashCode();
            return(hashCode);
        }
示例#4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Applicant.Length != 0)
            {
                hash ^= Applicant.GetHashCode();
            }
            if (CompanyName.Length != 0)
            {
                hash ^= CompanyName.GetHashCode();
            }
            if (CountryCode.Length != 0)
            {
                hash ^= CountryCode.GetHashCode();
            }
            if (Location.Length != 0)
            {
                hash ^= Location.GetHashCode();
            }
            if (JobTitle.Length != 0)
            {
                hash ^= JobTitle.GetHashCode();
            }
            if (JobDescription.Length != 0)
            {
                hash ^= JobDescription.GetHashCode();
            }
            if (StartMonth != 0)
            {
                hash ^= StartMonth.GetHashCode();
            }
            if (StartYear != 0)
            {
                hash ^= StartYear.GetHashCode();
            }
            if (EndMonth != 0)
            {
                hash ^= EndMonth.GetHashCode();
            }
            if (EndYear != 0)
            {
                hash ^= EndYear.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#5
0
        public override int GetHashCode()
        {
            int result = 1;

            result = (result * 397) ^ (CreatedOn != null ? CreatedOn.GetHashCode() : 0);
            result = (result * 397) ^ (EndDate != null ? EndDate.GetHashCode() : 0);
            result = (result * 397) ^ EndYear.GetHashCode();
            result = (result * 397) ^ Id.GetHashCode();
            result = (result * 397) ^ (IsDefaultAcademicYear != null ? IsDefaultAcademicYear.GetHashCode() : 0);
            result = (result * 397) ^ (Name != null ? Name.GetHashCode() : 0);
            result = (result * 397) ^ (StartDate != null ? StartDate.GetHashCode() : 0);
            result = (result * 397) ^ StartYear.GetHashCode();
            return(result);
        }
示例#6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Applicant.Length != 0)
            {
                hash ^= Applicant.GetHashCode();
            }
            if (Skill.Length != 0)
            {
                hash ^= Skill.GetHashCode();
            }
            if (SkillLevel.Length != 0)
            {
                hash ^= SkillLevel.GetHashCode();
            }
            if (StartMonth != 0)
            {
                hash ^= StartMonth.GetHashCode();
            }
            if (StartYear != 0)
            {
                hash ^= StartYear.GetHashCode();
            }
            if (EndMonth != 0)
            {
                hash ^= EndMonth.GetHashCode();
            }
            if (EndYear != 0)
            {
                hash ^= EndYear.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }