Class FileSystemExtensions
All file system/directory related extensions.
Inherited Members
Namespace: Code.Library.Extensions
Assembly: Code.Library.dll
Syntax
public static class FileSystemExtensions
Methods
| Improve this Doc View SourceClean(DirectoryInfo)
delete all the files and folders in the specified directory.
Declaration
public static void Clean(this DirectoryInfo directory)
Parameters
Type | Name | Description |
---|---|---|
Directory |
directory | Directory which need to clean. |