예제 #1
0
 bool IEquatable <Song> .Equals(Song other)
 {
     return(SongId.Equals(other.SongId));
 }
 public bool Equals(RadioSongWithDeezerSongIdParsed other)
 {
     return(string.Equals(RadioName, other.RadioName, StringComparison.InvariantCultureIgnoreCase) && SongId.Equals(other.SongId));
 }
예제 #3
0
 public bool Equals(SongAdded other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(UserId.Equals(other.UserId) && PlaylistId.Equals(other.PlaylistId) && SongId.Equals(other.SongId) &&
            string.Equals(Title, other.Title, StringComparison.InvariantCultureIgnoreCase) &&
            string.Equals(Artist, other.Artist, StringComparison.InvariantCultureIgnoreCase));
 }
예제 #4
0
 public bool Equals(YouTubeSong other)
 {
     return(SongId.Equals(other.SongId));
 }