예제 #1
0
 public AlbumViewModel(Album album)
 {
     Album = album;
     _tracksCollectionViewSource.Source = new ObservableCollection<Track>(album.Tracks);
 }
 public void AccessAlbum(Album album)
 {
     if (album != null)
         Dispatcher.Dispatch("Publish pages", new Pages.AlbumView(new Pages.AlbumViewModel(album)));
 }