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

Represents an external tool which can be automatically downloaded if missing
Наследование: ExternalTool
Показать файл Открыть проект

Открытые методы

Метод Описание
DownloadableExternalTool ( 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

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

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

Downloads the tool to the given target path

EnsureToolAvailable ( ) : void

Checks if the tool is available and download, copy, install etc. it if possible

If the tool cannot be acquired then it throws an exception.

Приватные методы

Метод Описание
DownloadTool ( ) : void

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

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

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

DownloadableExternalTool() публичный Метод

Defines a tool which can be downloaded if missing from an URL
public DownloadableExternalTool ( 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 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

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

Checks if the tool is available and download, copy, install etc. it if possible

If the tool cannot be acquired then it throws an exception.

protected EnsureToolAvailable ( ) : void
Результат void