Example #1
0
 /// <summary>
 /// Invokes the SongDownloadStatusChanged with the desired status
 /// </summary>
 /// <param name="status">the new status</param>
 private void _statusChanged(SongDownloadStatus status)
 {
     SongDownloadStatusChanged?.Invoke(this, new SongDownloadStatusChangedEventArgs()
     {
         SongDownloadStatus = status,
         Tags = _tagsOfCurrentSongToDownload,
         IndexOfCurrentSongToDownload = _indexOfCurrentSongToDownload
     });
 }
Example #2
0
 // Handler
 protected virtual void OnSongDownloadStatusChanged(SongDownloadStatusChangedEventArgs e)
 {
     SongDownloadStatusChanged?.Invoke(this, e);
 }