public async void DownloadMusicNotWaitAsync(MHzSongBase song, DownloadNotifType notif_type, DownloadReportType report_type) { await DownloadMusicAsync(song, notif_type, report_type); }
public async Task <DownloadResult> DownloadMusicAsync(MHzSongBase song, DownloadNotifType notif_type, DownloadReportType report_type) { return (notif_type == DownloadNotifType.Null && report_type == DownloadReportType.Null ? await DownloadMusicAsync(song, not_show : true, show_start : false, show_succ_notif : false, show_fail_notif : false) : notif_type == DownloadNotifType.Null && report_type == DownloadReportType.NotShowButReportStart ? await DownloadMusicAsync(song, not_show : true, show_start : true, show_succ_notif : false, show_fail_notif : false) : notif_type == DownloadNotifType.Null && report_type == DownloadReportType.ShowListAndReportStart ? await DownloadMusicAsync(song, not_show : false, show_start : true, show_succ_notif : false, show_fail_notif : false) : notif_type == DownloadNotifType.Null && report_type == DownloadReportType.ShowListButNotReport ? await DownloadMusicAsync(song, not_show : false, show_start : false, show_succ_notif : false, show_fail_notif : false) : notif_type == DownloadNotifType.SuccessfullyNotification && report_type == DownloadReportType.Null ? await DownloadMusicAsync(song, not_show : true, show_start : false, show_succ_notif : true, show_fail_notif : false) : notif_type == DownloadNotifType.SuccessfullyNotification && report_type == DownloadReportType.NotShowButReportStart ? await DownloadMusicAsync(song, not_show : true, show_start : true, show_succ_notif : true, show_fail_notif : false) : notif_type == DownloadNotifType.SuccessfullyNotification && report_type == DownloadReportType.ShowListAndReportStart ? await DownloadMusicAsync(song, not_show : false, show_start : true, show_succ_notif : true, show_fail_notif : false) : notif_type == DownloadNotifType.SuccessfullyNotification && report_type == DownloadReportType.ShowListButNotReport ? await DownloadMusicAsync(song, not_show : false, show_start : false, show_succ_notif : true, show_fail_notif : false) : notif_type == DownloadNotifType.FailedNotification && report_type == DownloadReportType.Null ? await DownloadMusicAsync(song, not_show : true, show_start : false, show_succ_notif : false, show_fail_notif : true) : notif_type == DownloadNotifType.FailedNotification && report_type == DownloadReportType.NotShowButReportStart ? await DownloadMusicAsync(song, not_show : true, show_start : true, show_succ_notif : false, show_fail_notif : true) : notif_type == DownloadNotifType.FailedNotification && report_type == DownloadReportType.ShowListAndReportStart ? await DownloadMusicAsync(song, not_show : false, show_start : true, show_succ_notif : false, show_fail_notif : true) : notif_type == DownloadNotifType.FailedNotification && report_type == DownloadReportType.ShowListButNotReport ? await DownloadMusicAsync(song, not_show : false, show_start : false, show_succ_notif : false, show_fail_notif : true) : notif_type == DownloadNotifType.AllNotification && report_type == DownloadReportType.Null ? await DownloadMusicAsync(song, not_show : true, show_start : false, show_succ_notif : true, show_fail_notif : true) : notif_type == DownloadNotifType.AllNotification && report_type == DownloadReportType.NotShowButReportStart ? await DownloadMusicAsync(song, not_show : true, show_start : true, show_succ_notif : true, show_fail_notif : true) : notif_type == DownloadNotifType.AllNotification && report_type == DownloadReportType.ShowListAndReportStart ? await DownloadMusicAsync(song, not_show : false, show_start : true, show_succ_notif : true, show_fail_notif : true) : await DownloadMusicAsync(song, not_show : false, show_start : false, show_succ_notif : true, show_fail_notif : true)); }