C# 클래스 NAnt.Core.Tasks.ExternalProgramBase

상속: Task
파일 보기 프로젝트 열기: savornicesei/NAnt2

Private Properties

프로퍼티 타입 설명
DetermineFilePath string
ExternalProgramBase System
StreamReaderThread_Error void
StreamReaderThread_Output void

보호된 메소드들

메소드 설명
ExecuteTask ( ) : void

Starts the external process and captures its output.

PrepareProcess ( Process process ) : void

Updates the ProcessStartInfo of the specified Process.

StartProcess ( ) : Process

Starts the process and handles errors.

비공개 메소드들

메소드 설명
DetermineFilePath ( ) : string

Determines the path of the external program that should be executed.

ExternalProgramBase ( ) : System

Static constructor that retrieves the specified timeout value for program output.

StreamReaderThread_Error ( ) : void

Reads from the stream until the external program is ended.

StreamReaderThread_Output ( ) : void

Reads from the stream until the external program is ended.

메소드 상세

ExecuteTask() 보호된 메소드

Starts the external process and captures its output.
/// The external process did not finish within the configured timeout. /// -or- /// The exit code of the external process indicates a failure. ///
protected ExecuteTask ( ) : void
리턴 void

PrepareProcess() 보호된 메소드

Updates the ProcessStartInfo of the specified Process.
protected PrepareProcess ( Process process ) : void
process Process The of which the should be updated.
리턴 void

StartProcess() 보호된 메소드

Starts the process and handles errors.
protected StartProcess ( ) : Process
리턴 Process