示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ImageUrl.Length != 0)
            {
                hash ^= ImageUrl.GetHashCode();
            }
            if (PageUrl.Length != 0)
            {
                hash ^= PageUrl.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (searchTerm_ != null)
            {
                hash ^= SearchTerm.GetHashCode();
            }
            if (headline_ != null)
            {
                hash ^= Headline.GetHashCode();
            }
            if (landingPage_ != null)
            {
                hash ^= LandingPage.GetHashCode();
            }
            if (pageUrl_ != null)
            {
                hash ^= PageUrl.GetHashCode();
            }
            if (hasNegativeKeyword_ != null)
            {
                hash ^= HasNegativeKeyword.GetHashCode();
            }
            if (hasMatchingKeyword_ != null)
            {
                hash ^= HasMatchingKeyword.GetHashCode();
            }
            if (hasNegativeUrl_ != null)
            {
                hash ^= HasNegativeUrl.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasPageUrl)
            {
                hash ^= PageUrl.GetHashCode();
            }
            if (HasNextPageUrl)
            {
                hash ^= NextPageUrl.GetHashCode();
            }
            hash ^= Metadata.GetHashCode();
            hash ^= tracks_.GetHashCode();
            if (HasLoading)
            {
                hash ^= Loading.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }