C# Class _3PA.MainFeatures.Pro.ProExecution

Afficher le fichier Open project: jcaillon/3P Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CreateListOfFilesToDeploy() public méthode

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
Résultat List

Do() public méthode

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
Résultat bool

KillProcess() public méthode

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

LoadErrorLog() public méthode

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
Résultat List>.Dictionary

ProExecution() public méthode

public ProExecution ( ) : System
Résultat System