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

            if (SceneId != 0)
            {
                hash ^= SceneId.GetHashCode();
            }
            if (TalkId != 0)
            {
                hash ^= TalkId.GetHashCode();
            }
            if (SceneName.Length != 0)
            {
                hash ^= SceneName.GetHashCode();
            }
            if (HeadId != 0)
            {
                hash ^= HeadId.GetHashCode();
            }
            if (PicId != 0)
            {
                hash ^= PicId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Blogger.Length != 0)
            {
                hash ^= Blogger.GetHashCode();
            }
            if (BtnTxt.Length != 0)
            {
                hash ^= BtnTxt.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            if (Reading != 0)
            {
                hash ^= Reading.GetHashCode();
            }
            if (Comments != 0)
            {
                hash ^= Comments.GetHashCode();
            }
            if (Likes != 0)
            {
                hash ^= Likes.GetHashCode();
            }
            hash ^= selectIds_.GetHashCode();
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SceneId != 0)
            {
                hash ^= SceneId.GetHashCode();
            }
            if (ReplyId != 0)
            {
                hash ^= ReplyId.GetHashCode();
            }
            if (SceneName.Length != 0)
            {
                hash ^= SceneName.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (PicId != 0)
            {
                hash ^= PicId.GetHashCode();
            }
            if (BtnTxt.Length != 0)
            {
                hash ^= BtnTxt.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            hash ^= selectIds_.GetHashCode();
            hash ^= commentIds_.GetHashCode();
            return(hash);
        }