Esempio n. 1
0
 public override Task <bool> OnFileDownloadedAsync(FileLink fileResourceLink, DownloadedFilesUnit downloadedFileUnit, HttpResultUnit httpResultUnit)
 {
     return(ExecuteOnAllInterceptorsAsync(eventInterceptor =>
                                          eventInterceptor.OnFileDownloadedAsync(fileResourceLink, downloadedFileUnit, httpResultUnit)
                                          ));
 }
Esempio n. 2
0
 /// <returns>True - if file download result was successfully processed, False - download result processing failed (should either re-enqueue, trace and continue or do something else)</returns>
 public async virtual Task <bool> OnFileDownloadedAsync(FileLink fileResourceLink, DownloadedFilesUnit downloadedFileUnit, HttpResultUnit httpResultUnit)
 {
     return(true);
 }