Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LighthouseId.Length != 0)
            {
                hash ^= LighthouseId.GetHashCode();
            }
            if (ForceUpdate != false)
            {
                hash ^= ForceUpdate.GetHashCode();
            }
            if (resourceDetail_ != null)
            {
                hash ^= ResourceDetail.GetHashCode();
            }
            if (Maintenance != false)
            {
                hash ^= Maintenance.GetHashCode();
            }
            if (RedirectURL.Length != 0)
            {
                hash ^= RedirectURL.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ForceUpdate != false)
            {
                hash ^= ForceUpdate.GetHashCode();
            }
            if (ServerUri.Length != 0)
            {
                hash ^= ServerUri.GetHashCode();
            }
            if (ActualEnvId.Length != 0)
            {
                hash ^= ActualEnvId.GetHashCode();
            }
            if (ManifestVersion.Length != 0)
            {
                hash ^= ManifestVersion.GetHashCode();
            }
            if (qualityLevel_ != null)
            {
                hash ^= QualityLevel.GetHashCode();
            }
            if (ForceUpdateUrl.Length != 0)
            {
                hash ^= ForceUpdateUrl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Пример #3
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.index)
            {
                hashcode = (hashcode * 397) + Index.GetHashCode();
            }
            if (__isset.forceUpdate)
            {
                hashcode = (hashcode * 397) + ForceUpdate.GetHashCode();
            }
            if (__isset.title)
            {
                hashcode = (hashcode * 397) + Title.GetHashCode();
            }
            if (__isset.text)
            {
                hashcode = (hashcode * 397) + Text.GetHashCode();
            }
            if (__isset.createdTime)
            {
                hashcode = (hashcode * 397) + CreatedTime.GetHashCode();
            }
            if (__isset.pictureUrl)
            {
                hashcode = (hashcode * 397) + PictureUrl.GetHashCode();
            }
            if (__isset.thumbnailUrl)
            {
                hashcode = (hashcode * 397) + ThumbnailUrl.GetHashCode();
            }
        }
        return(hashcode);
    }