コード例 #1
0
 public UpdateMusicViewModel(SongViewModel song, ObservableCollection <SongViewModel> localSongList)
 {
     this.song     = song;
     Name          = song.Name;
     Album         = song.Album;
     Author        = song.Author;
     path          = song.Source;
     img           = ImageConverter.BitmapImageToArray(song.Image);
     controller    = new AddUpdateMusicController();
     LocalSongList = localSongList;
 }