-
-
Notifications
You must be signed in to change notification settings - Fork 4
Downloader
Sasso edited this page Jan 30, 2021
·
3 revisions
Abstract class that provides the template method Download(). It is implemented by WebDownloader and MegaDownloader.
Constructor method.
Name | Description |
---|---|
window |
XVLauncher.MainWindow MainWindow instance where are placed GUI elements to be updated to show progress. |
url |
System.String |
Template method that only handle exceptions and do some simples GUI changes. Real Download implementation is delegated to sublasses that must implement the abstract method Downloader.DownloadImplementation.
Abstract method to be implemented by subclasses, that must provide download implementation, possibly asynchronously. It is called by the template method Downloader.Download
Wiki work in progress, please feel free to contribute!