Class Cleaner
This class deletes unnecessary files after each simulation or in any moment.
Inheritance
System.Object
Cleaner
Namespace: EplusLauncher
Assembly: cs.temp.dll.dll
Syntax
public class Cleaner
Methods
CleanFromLogFile(String)
Processes the folders in the log file and removes the files set for deletion.
Declaration
public void CleanFromLogFile(string logFilePath)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | logFilePath | Log file full path. |
SetFiles(String[])
Sets the filenames that will be deleted.
Declaration
public void SetFiles(params string[] fileNames)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | fileNames | Filenames only, not full path. |
SetFilesExtensions(String[])
Sets the file extensions of the files that will be deleted.
Declaration
public void SetFilesExtensions(params string[] fileExtensions)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | fileExtensions | File extension |