C# 클래스 Bari.Core.Tools.DownloadableExternalTool

Represents an external tool which can be automatically downloaded if missing
상속: ExternalTool
파일 보기 프로젝트 열기: vigoo/bari

공개 메소드들

메소드 설명
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