protected void OnFileDownloadFailed(Exception exception, FileDownload fileDownload) { this.FileDownloadFailed?.Invoke(this, new FileDownloadFailedEventArgs(exception, fileDownload)); }
public FileDownloadEventArgs(FileDownload fileDownload) { this.FileDownload = fileDownload; }
public FileDownloadFailedEventArgs(Exception exception, FileDownload fileDownload) { this.Exception = exception; this.FileDownload = fileDownload; }