C# 클래스 _3PA.MainFeatures.Pro.ProCompilation

Class used for the mass compiler
파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DeploymentDone bool

공개 메소드들

메소드 설명
CancelCompilation ( ) : void

This method "cancel" the compilation by killing the associated processes

CompilationFailedOnMaxUser ( ) : bool

Returns true if at least one process failed because of a failed database connection and one of the error was the error number 748 (lack of ressources) this error is caused by too much connection on the same database (too much processes started!)

CompileFiles ( HashSet filesToCompile ) : bool

Compiles the list of files given

FormatCompilationResult ( string sourceFilePath, List listErrorFiles, List listDeployedFiles ) : string

Allows to format a small text to explain the errors found in a file and the generated files...

GetElapsedTime ( ) : string

Get the time elapsed since the beggining of the compilation in a human readable format

GetOverallProgression ( ) : float

Use this method to get the overall progression of the compilation (from 0 to 100)

KillProcesses ( ) : void

비공개 메소드들

메소드 설명
EndOfCompilation ( ProExecution obj ) : void

This method is executed when the overall compilation is over and allows to do more treatments

OnExecutionEnd ( ProExecution lastExecution ) : void

Called when a process has finished

OnExecutionFailed ( ProExecution obj ) : void

Called when a process has finished UNsuccessfully

OnExecutionOk ( ProExecution obj ) : void

Called when a process has finished successfully

메소드 상세

CancelCompilation() 공개 메소드

This method "cancel" the compilation by killing the associated processes
public CancelCompilation ( ) : void
리턴 void

CompilationFailedOnMaxUser() 공개 메소드

Returns true if at least one process failed because of a failed database connection and one of the error was the error number 748 (lack of ressources) this error is caused by too much connection on the same database (too much processes started!)
public CompilationFailedOnMaxUser ( ) : bool
리턴 bool

CompileFiles() 공개 메소드

Compiles the list of files given
public CompileFiles ( HashSet filesToCompile ) : bool
filesToCompile HashSet
리턴 bool

FormatCompilationResult() 공개 정적인 메소드

Allows to format a small text to explain the errors found in a file and the generated files...
public static FormatCompilationResult ( string sourceFilePath, List listErrorFiles, List listDeployedFiles ) : string
sourceFilePath string
listErrorFiles List
listDeployedFiles List
리턴 string

GetElapsedTime() 공개 메소드

Get the time elapsed since the beggining of the compilation in a human readable format
public GetElapsedTime ( ) : string
리턴 string

GetOverallProgression() 공개 메소드

Use this method to get the overall progression of the compilation (from 0 to 100)
public GetOverallProgression ( ) : float
리턴 float

KillProcesses() 공개 메소드

public KillProcesses ( ) : void
리턴 void

프로퍼티 상세

DeploymentDone 공개적으로 프로퍼티

public bool DeploymentDone
리턴 bool