コード例 #1
0
ファイル: Scrobble.cs プロジェクト: zsavely/lastfm
 public bool Equals(Scrobble other)
 {
     return(other != null &&
            IgnoredReason == other.IgnoredReason &&
            Artist == other.Artist &&
            AlbumArtist == other.AlbumArtist &&
            Album == other.Album &&
            Track == other.Track &&
            TimePlayed.Equals(other.TimePlayed) &&
            ChosenByUser == other.ChosenByUser &&
            EqualityComparer <TimeSpan?> .Default.Equals(Duration, other.Duration));
 }