C# 클래스 CCNet.Build.Common.Execute

Running custom tools from command line process.
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions

공개 메소드들

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