C# Класс Bari.Core.Tools.DownloadableSelfExtractingExternalTool

A more generally usable version of DownloadableExternalTool where the downloaded file is not the external tool executable itself but an installer/self extracting package
Наследование: DownloadableExternalTool
Показать файл Открыть проект

Защищенные методы

Метод Описание
DownloadAndDeploy ( string target ) : void

Downloads the tool to the given target path

DownloadableSelfExtractingExternalTool ( string name, string defaultInstallLocation, string executableName, Uri url, bool isDotNETProcess, IParameters parameters ) : System

Defines a tool which can be downloaded if missing from an URL

GetInstallerArguments ( string targetDir ) : string

Returns the command line arguments to be passed to the downloaded installer

Описание методов

DownloadAndDeploy() защищенный Метод

Downloads the tool to the given target path
protected DownloadAndDeploy ( string target ) : void
target string Target directory
Результат void

DownloadableSelfExtractingExternalTool() защищенный Метод

Defines a tool which can be downloaded if missing from an URL
protected DownloadableSelfExtractingExternalTool ( string name, string defaultInstallLocation, string executableName, Uri url, bool isDotNETProcess, IParameters parameters ) : System
name string Unique name of this tool
defaultInstallLocation string Default installation location where the tool can be found
executableName string File name of the executable to be ran
url System.Uri The URL where the tool archive can be downloaded from
isDotNETProcess bool If true the process will be executed with mono when not running on MS CLR
parameters IParameters Application parameters
Результат System

GetInstallerArguments() защищенный абстрактный Метод

Returns the command line arguments to be passed to the downloaded installer
protected abstract GetInstallerArguments ( string targetDir ) : string
targetDir string Target directory where the tool should be installed
Результат string