예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GuideId != 0)
            {
                hash ^= GuideId.GetHashCode();
            }
            if (GuideType != 0)
            {
                hash ^= GuideType.GetHashCode();
            }
            hash ^= awards_.GetHashCode();
            return(hash);
        }
예제 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (UserId != 0)
            {
                hash ^= UserId.GetHashCode();
            }
            if (GuideType != 0)
            {
                hash ^= GuideType.GetHashCode();
            }
            if (GuideId != 0)
            {
                hash ^= GuideId.GetHashCode();
            }
            return(hash);
        }