C# Класс _3PA.MainFeatures.Pro.ProExecution

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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

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

Метод Описание
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

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

BringProcessToFront() публичный Метод

Allows to kill the process of this execution (be careful, the OnExecutionEnd, Ok, Fail events are not executed in that case!)
public BringProcessToFront ( ) : void
Результат void

CreateListOfFilesToDeploy() публичный Метод

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
Результат List

Do() публичный Метод

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
Результат bool

KillProcess() публичный Метод

Allows to kill the process of this execution (be careful, the OnExecutionEnd, Ok, Fail events are not executed in that case!)
public KillProcess ( ) : void
Результат void

LoadErrorLog() публичный Метод

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
Результат List>.Dictionary

ProExecution() публичный Метод

public ProExecution ( ) : System
Результат System