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

Base class for running and acquiring external tools
파일 보기 프로젝트 열기: vigoo/bari

공개 메소드들

메소드 설명
Run ( IFileSystemDirectory root ) : bool

Runs the external tool with the given parameters

보호된 메소드들

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

ExternalTool ( string name, IParameters parameters ) : System

Initializes the tool runner

메소드 상세

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 abstract EnsureToolAvailable ( ) : void
리턴 void

ExternalTool() 보호된 메소드

Initializes the tool runner
protected ExternalTool ( string name, IParameters parameters ) : System
name string Name of the external tool, for debugging and error handling purposes
parameters IParameters Parameters, to determine if running in mono mode or not
리턴 System

Run() 공개 메소드

Runs the external tool with the given parameters
public Run ( IFileSystemDirectory root ) : bool
root IFileSystemDirectory Working directory
리턴 bool