コード例 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Basics != null ? Basics.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Work != null ? Work.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Volunteer != null ? Volunteer.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Education != null ? Education.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Awards != null ? Awards.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Publications != null ? Publications.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Skills != null ? Skills.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Languages != null ? Languages.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Interests != null ? Interests.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (References != null ? References.GetHashCode() : 0);
         return(hashCode);
     }
 }