public override int GetHashCode() { int hash = 13; hash = (hash * 7) + ArtistName.GetHashCode(); return(hash); }
public override int GetHashCode() { int hashcode = 157; unchecked { hashcode = (hashcode * 397) + IdLocalTrack.GetHashCode(); if (__isset.idConsumer) { hashcode = (hashcode * 397) + IdConsumer.GetHashCode(); } if (__isset.fileName) { hashcode = (hashcode * 397) + FileName.GetHashCode(); } if (__isset.artistName) { hashcode = (hashcode * 397) + ArtistName.GetHashCode(); } if (__isset.title) { hashcode = (hashcode * 397) + Title.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hash = 13; hash = (hash * 7) + (!Object.ReferenceEquals(null, Name) ? Name.GetHashCode() : 0); hash = (hash * 7) + (!Object.ReferenceEquals(null, ArtistName) ? ArtistName.GetHashCode() : 0); hash = (hash * 7) + (!Object.ReferenceEquals(null, _musicbrainzID) ? _musicbrainzID.GetHashCode() : 0); hash = (hash * 7) + (!Object.ReferenceEquals(null, _date) ? _date.GetHashCode() : 0); return(hash); }
public override int GetHashCode() { unchecked { var hashCode = (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ArtistName != null ? ArtistName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ DateOfShow.GetHashCode(); return(hashCode); } }