Class DirectoryCleaner
Static methods of cleaning folder
Inheritance
object
DirectoryCleaner
Namespace: BuildSystem.Utils.DirectoryHelper
Assembly: BuildSystem.Utils.dll
Syntax
public static class DirectoryCleaner : Object
Methods
CleanByNameWithoutExtension(string, string, ILogger?)
Clean all files with according names from folder
Declaration
public static void CleanByNameWithoutExtension(string dirPath, string name, ILogger? logger)
Parameters
Type | Name | Description |
---|---|---|
string | dirPath | Cleaning folder |
string | name | Exact name of deleting file (without extension) |
ILogger | logger | Logging object |