예제 #1
0
 protected List <AlbumMusicItem> AllAlbumsBy(ArtistMusicItem artist)
 {
     return(albums.FindAll(delegate(AlbumMusicItem album) {
         return album.Artist == artist.Name;
     }));
 }
예제 #2
0
 public BrowseAllMusicItem(ArtistMusicItem artist) :
     base("Songs", "All songs by " + artist.Artist)
 {
     this.artist = artist;
 }