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

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (imagesUrl_ != null)
            {
                hash ^= ImagesUrl.GetHashCode();
            }
            if (Overview.Length != 0)
            {
                hash ^= Overview.GetHashCode();
            }
            if (Monitored != false)
            {
                hash ^= Monitored.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int result = 1;

            result = (result * 397) ^ (Overview != null ? Overview.GetHashCode() : 0);
            result = (result * 397) ^ (CourseType != null ? CourseType.GetHashCode() : 0);
            result = (result * 397) ^ Id.GetHashCode();
            return(result);
        }
Beispiel #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SeriesId != 0)
            {
                hash ^= SeriesId.GetHashCode();
            }
            if (EpisodeFileId != 0)
            {
                hash ^= EpisodeFileId.GetHashCode();
            }
            if (SeasonNumber != 0)
            {
                hash ^= SeasonNumber.GetHashCode();
            }
            if (EpisideNumber != 0)
            {
                hash ^= EpisideNumber.GetHashCode();
            }
            if (Title.Length != 0)
            {
                hash ^= Title.GetHashCode();
            }
            if (Overview.Length != 0)
            {
                hash ^= Overview.GetHashCode();
            }
            if (PlayableId.Length != 0)
            {
                hash ^= PlayableId.GetHashCode();
            }
            if (progress_ != null)
            {
                hash ^= Progress.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }