C# Class _3PA.MainFeatures.Pro.ProExecution

Mostra file Open project: jcaillon/3P Class Usage Examples

Public Methods

Method Description
BringProcessToFront ( ) : void

Allows to kill the process of this execution (be careful, the OnExecutionEnd, Ok, Fail events are not executed in that case!)

CreateListOfFilesToDeploy ( ) : List

Creates a list of files to deploy after a compilation, for each Origin file will correspond one (or more if it's a .cls) .r file, and one .lst if the option has been checked

Do ( ExecutionType executionType ) : bool

allows to prepare the execution environnement by creating a unique temp folder and copying every critical files into it Then execute the progress program

KillProcess ( ) : void

Allows to kill the process of this execution (be careful, the OnExecutionEnd, Ok, Fail events are not executed in that case!)

LoadErrorLog ( ) : List>.Dictionary

Read the compilation/prolint errors of a given execution through its .log file update the FilesInfo accordingly so the user can see the errors in npp

ProExecution ( ) : System

Private Methods

Method Description
DisplayPostExecutionNotification ( ) : void

Read a file in which each line represents a notification to display to the user, and displays each notification

MoveSplashScreenNoError ( string from, string to ) : void

move a file, catch the errors

ProcessOnExited ( object sender, EventArgs eventArgs ) : void

Called by the process's thread when it is over, execute the ProcessOnExited event

Method Details

BringProcessToFront() public method

Allows to kill the process of this execution (be careful, the OnExecutionEnd, Ok, Fail events are not executed in that case!)
public BringProcessToFront ( ) : void
return void

CreateListOfFilesToDeploy() public method

Creates a list of files to deploy after a compilation, for each Origin file will correspond one (or more if it's a .cls) .r file, and one .lst if the option has been checked
public CreateListOfFilesToDeploy ( ) : List
return List

Do() public method

allows to prepare the execution environnement by creating a unique temp folder and copying every critical files into it Then execute the progress program
public Do ( ExecutionType executionType ) : bool
executionType ExecutionType
return bool

KillProcess() public method

Allows to kill the process of this execution (be careful, the OnExecutionEnd, Ok, Fail events are not executed in that case!)
public KillProcess ( ) : void
return void

LoadErrorLog() public method

Read the compilation/prolint errors of a given execution through its .log file update the FilesInfo accordingly so the user can see the errors in npp
public LoadErrorLog ( ) : List>.Dictionary
return List>.Dictionary

ProExecution() public method

public ProExecution ( ) : System
return System