Exemple #1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.mid)
            {
                hashcode = (hashcode * 397) + Mid.GetHashCode();
            }
            if (__isset.createdTime)
            {
                hashcode = (hashcode * 397) + CreatedTime.GetHashCode();
            }
            if (__isset.type)
            {
                hashcode = (hashcode * 397) + Type.GetHashCode();
            }
            if (__isset.status)
            {
                hashcode = (hashcode * 397) + Status.GetHashCode();
            }
            if (__isset.relation)
            {
                hashcode = (hashcode * 397) + Relation.GetHashCode();
            }
            if (__isset.displayName)
            {
                hashcode = (hashcode * 397) + DisplayName.GetHashCode();
            }
            if (__isset.phoneticName)
            {
                hashcode = (hashcode * 397) + PhoneticName.GetHashCode();
            }
            if (__isset.pictureStatus)
            {
                hashcode = (hashcode * 397) + PictureStatus.GetHashCode();
            }
            if (__isset.thumbnailUrl)
            {
                hashcode = (hashcode * 397) + ThumbnailUrl.GetHashCode();
            }
            if (__isset.statusMessage)
            {
                hashcode = (hashcode * 397) + StatusMessage.GetHashCode();
            }
            if (__isset.displayNameOverridden)
            {
                hashcode = (hashcode * 397) + DisplayNameOverridden.GetHashCode();
            }
            if (__isset.favoriteTime)
            {
                hashcode = (hashcode * 397) + FavoriteTime.GetHashCode();
            }
            if (__isset.capableVoiceCall)
            {
                hashcode = (hashcode * 397) + CapableVoiceCall.GetHashCode();
            }
            if (__isset.capableVideoCall)
            {
                hashcode = (hashcode * 397) + CapableVideoCall.GetHashCode();
            }
            if (__isset.capableMyhome)
            {
                hashcode = (hashcode * 397) + CapableMyhome.GetHashCode();
            }
            if (__isset.capableBuddy)
            {
                hashcode = (hashcode * 397) + CapableBuddy.GetHashCode();
            }
            if (__isset.attributes)
            {
                hashcode = (hashcode * 397) + Attributes.GetHashCode();
            }
            if (__isset.settings)
            {
                hashcode = (hashcode * 397) + Settings.GetHashCode();
            }
            if (__isset.picturePath)
            {
                hashcode = (hashcode * 397) + PicturePath.GetHashCode();
            }
            if (__isset.recommendParams)
            {
                hashcode = (hashcode * 397) + RecommendParams.GetHashCode();
            }
            if (__isset.friendRequestStatus)
            {
                hashcode = (hashcode * 397) + FriendRequestStatus.GetHashCode();
            }
            if (__isset.musicProfile)
            {
                hashcode = (hashcode * 397) + MusicProfile.GetHashCode();
            }
            if (__isset.videoProfile)
            {
                hashcode = (hashcode * 397) + VideoProfile.GetHashCode();
            }
        }
        return(hashcode);
    }
Exemple #2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.mid)
            {
                hashcode = (hashcode * 397) + Mid.GetHashCode();
            }
            if (__isset.userid)
            {
                hashcode = (hashcode * 397) + Userid.GetHashCode();
            }
            if (__isset.phone)
            {
                hashcode = (hashcode * 397) + Phone.GetHashCode();
            }
            if (__isset.email)
            {
                hashcode = (hashcode * 397) + Email.GetHashCode();
            }
            if (__isset.regionCode)
            {
                hashcode = (hashcode * 397) + RegionCode.GetHashCode();
            }
            if (__isset.displayName)
            {
                hashcode = (hashcode * 397) + DisplayName.GetHashCode();
            }
            if (__isset.phoneticName)
            {
                hashcode = (hashcode * 397) + PhoneticName.GetHashCode();
            }
            if (__isset.pictureStatus)
            {
                hashcode = (hashcode * 397) + PictureStatus.GetHashCode();
            }
            if (__isset.thumbnailUrl)
            {
                hashcode = (hashcode * 397) + ThumbnailUrl.GetHashCode();
            }
            if (__isset.statusMessage)
            {
                hashcode = (hashcode * 397) + StatusMessage.GetHashCode();
            }
            if (__isset.allowSearchByUserid)
            {
                hashcode = (hashcode * 397) + AllowSearchByUserid.GetHashCode();
            }
            if (__isset.allowSearchByEmail)
            {
                hashcode = (hashcode * 397) + AllowSearchByEmail.GetHashCode();
            }
            if (__isset.picturePath)
            {
                hashcode = (hashcode * 397) + PicturePath.GetHashCode();
            }
            if (__isset.musicProfile)
            {
                hashcode = (hashcode * 397) + MusicProfile.GetHashCode();
            }
            if (__isset.videoProfile)
            {
                hashcode = (hashcode * 397) + VideoProfile.GetHashCode();
            }
        }
        return(hashcode);
    }