C# Класс NAnt.Core.Tasks.ExternalProgramBase

Наследование: Task
Показать файл Открыть проект

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