C# Класс CCNet.Build.Common.Execute

Running custom tools from command line process.
Показать файл Открыть проект

Открытые методы

Метод Описание
DisplayCurrent ( Type argsType ) : void

Displays current execution.

DisplayUsage ( string description, Type argsType ) : void

Displays usage text.

ReportArguments ( Type argsType, bool displayValues ) : void

Reports known arguments and their current values, if requested.

ReportLink ( string url, string image ) : void

Reports URL to be displayed for the current project.

ReportPackage ( string name, string url, string source, string build, string notes ) : void

Reports package used by the current project.

ReportUsage ( string name, string server ) : void

Reports which projects are using the current project.

Run ( string fileName, string arguments ) : void

Runs custom tool and redirects its output to the main process.

RuntimeError ( Exception error ) : int

Handles run-time error.

Step ( string name ) : ExecuteStep

Marks execution step for console output.

Приватные методы

Метод Описание
CreateProcess ( string fileName, string arguments ) : Process

Creates process instance to run.

Описание методов

DisplayCurrent() публичный статический Метод

Displays current execution.
public static DisplayCurrent ( Type argsType ) : void
argsType System.Type
Результат void

DisplayUsage() публичный статический Метод

Displays usage text.
public static DisplayUsage ( string description, Type argsType ) : void
description string
argsType System.Type
Результат void

ReportArguments() публичный статический Метод

Reports known arguments and their current values, if requested.
public static ReportArguments ( Type argsType, bool displayValues ) : void
argsType System.Type
displayValues bool
Результат void

ReportLink() публичный статический Метод

Reports URL to be displayed for the current project.
public static ReportLink ( string url, string image ) : void
url string
image string
Результат void

ReportPackage() публичный статический Метод

Reports package used by the current project.
public static ReportPackage ( string name, string url, string source, string build, string notes ) : void
name string
url string
source string
build string
notes string
Результат void

ReportUsage() публичный статический Метод

Reports which projects are using the current project.
public static ReportUsage ( string name, string server ) : void
name string
server string
Результат void

Run() публичный статический Метод

Runs custom tool and redirects its output to the main process.
public static Run ( string fileName, string arguments ) : void
fileName string
arguments string
Результат void

RuntimeError() публичный статический Метод

Handles run-time error.
public static RuntimeError ( Exception error ) : int
error System.Exception
Результат int

Step() публичный статический Метод

Marks execution step for console output.
public static Step ( string name ) : ExecuteStep
name string
Результат ExecuteStep