示例#1
0
        public void AddDownload(MergedSong song)
        {
            SongItemDownloader downloader = new SongItemDownloader(musicSources, target, song);

            downloader.DownloadFinish += Downloader_DownloadFinish;

            songs.Add(downloader);

            downloader.Download();
        }
示例#2
0
 public SongItemDownloader(MusicSources musicSources, string target, MergedSong song)
 {
     this.musicSources = musicSources;
     this.target       = target;
     this.song         = song;
 }