public override int GetHashCode() { unchecked { var hashCode = TrackName != null?TrackName.GetHashCode() : 0; hashCode = (hashCode * 397) ^ Duration; hashCode = (hashCode * 397) ^ Bitrate; hashCode = (hashCode * 397) ^ (TrackUrl != null ? TrackUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Group != null ? Group.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Year; hashCode = (hashCode * 397) ^ (RecordFormat != null ? RecordFormat.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Album != null ? Album.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Size; hashCode = (hashCode * 397) ^ (Genre != null ? Genre.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Rate; return(hashCode); } }
public override int GetHashCode() { return(Actual.GetHashCode()); }