C# Class withSIX.Core.Applications.Services.DownloadAndInstaller

Show file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
DownloadAndInstall ( ) : System.Threading.Tasks.Task
DownloadAndInstaller ( IFileDownloader downloader, StatusRepo statusRepo, string file, IAbsoluteDirectoryPath destination, IRestarter restarter ) : System

Private Methods

Method Description
DeleteSourceFileIfExists ( ) : void
PerformDownload ( ) : System.Threading.Tasks.Task
PerformUnpack ( ) : System.Threading.Tasks.Task
PreConditions ( ) : Task

Method Details

DownloadAndInstall() public method

public DownloadAndInstall ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

DownloadAndInstaller() public method

public DownloadAndInstaller ( IFileDownloader downloader, StatusRepo statusRepo, string file, IAbsoluteDirectoryPath destination, IRestarter restarter ) : System
downloader IFileDownloader
statusRepo StatusRepo
file string
destination IAbsoluteDirectoryPath
restarter IRestarter
return System