public override int GetHashCode() { int hash = 1; if (ProgramName.Length != 0) hash ^= ProgramName.GetHashCode(); if (EpisodeName.Length != 0) hash ^= EpisodeName.GetHashCode(); if (EpisodeNumber != 0) hash ^= EpisodeNumber.GetHashCode(); if (IsLive != false) hash ^= IsLive.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; }
public override int GetHashCode() { int ret = (Title != null) ? Title.GetHashCode() : 0; ret = (ret * 397) ^ ((EpisodeNumber != null) ? EpisodeNumber.GetHashCode() : 0); ret = (ret * 397) ^ ((EpisodeTitle != null) ? EpisodeTitle.GetHashCode() : 0); ret = (ret * 397) ^ ((Synopsis != null) ? Synopsis.GetHashCode() : 0); ret = (ret * 397) ^ ((Team1 != null) ? Team1.GetHashCode() : 0); ret = (ret * 397) ^ ((Team2 != null) ? Team2.GetHashCode() : 0); ret = (ret * 397) ^ SeriesID.GetHashCode(); ret &= 0x7fffffff; return(ret); }
public override int GetHashCode() { int hash = 17; hash = hash * 23 + EntityID.GetHashCode(); hash = hash * 23 + EpisodeNumber.GetHashCode(); hash = hash * 23 + ErrorCode.GetHashCode(); hash = hash * 23 + ErrorMesg.GetHashCode(); hash = hash * 23 + Facility.GetHashCode(); hash = hash * 23 + OptionId.GetHashCode(); hash = hash * 23 + OptionStaffId.GetHashCode(); hash = hash * 23 + OptionUserId.GetHashCode(); hash = hash * 23 + SystemCode.GetHashCode(); foreach (var form in this.Forms) { hash = hash * 23 + form.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(SearchMode.GetHashCode() ^ SeasonNumber.GetHashCode() ^ EpisodeNumber.GetHashCode()); }