public override int GetHashCode() { var hashSeason = SeasonNumber.GetHashCode(); var hashEp = EpisodeNumber.GetHashCode(); //Calculate the hash code. return(hashSeason + hashEp); }
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); }
public override int GetHashCode() { return(SearchMode.GetHashCode() ^ SeasonNumber.GetHashCode() ^ EpisodeNumber.GetHashCode()); }