C# Class NAnt.Core.Tasks.ExternalProgramBase

Inheritance: Task
Afficher le fichier Open project: savornicesei/NAnt2

Private Properties

Свойство Type Description
DetermineFilePath string
ExternalProgramBase System
StreamReaderThread_Error void
StreamReaderThread_Output void

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

ExecuteTask() protected méthode

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
Résultat void

PrepareProcess() protected méthode

Updates the ProcessStartInfo of the specified Process.
protected PrepareProcess ( Process process ) : void
process Process The of which the should be updated.
Résultat void

StartProcess() protected méthode

Starts the process and handles errors.
protected StartProcess ( ) : Process
Résultat Process