Пример #1
0
        public void StartPlayingArtist(ArtistModel artist)
        {
            var artistsSongs =
                    Songs.Where(song => song.Artist.Equals(artist.Name, StringComparison.OrdinalIgnoreCase));

            MusicPlayerWrapper.Instance.Play(new PlayableArtist(artistsSongs));
        }
Пример #2
0
 protected bool Equals(ArtistModel other)
 {
     return string.Equals(Name, other.Name);
 }