示例#1
0
 private async Task DownloadFile(UploadFileItem item)
 {
     if (item.State == UploadState.Success && OnDownload.HasDelegate)
     {
         await OnDownload.InvokeAsync(item);
     }
 }
示例#2
0
 private async Task OnDownloadClicked()
 {
     var   downloadTask = OnDownload.InvokeAsync(this.VideoModel);
     await downloadTask;
 }