Class DirectoryWrapper
Inheritance
DirectoryWrapper
Assembly: DotNetNuke.dll
Syntax
public class DirectoryWrapper : ComponentBase<IDirectory, DirectoryWrapper>, IDirectory
Constructors
DirectoryWrapper()
Declaration
public DirectoryWrapper()
Methods
CreateDirectory(string)
Declaration
public void CreateDirectory(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Delete(string, bool)
Declaration
public void Delete(string path, bool recursive)
Parameters
Exists(string)
Declaration
public bool Exists(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
GetDirectories(string)
Declaration
public string[] GetDirectories(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
GetFiles(string)
Declaration
public string[] GetFiles(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
Move(string, string)
Declaration
public void Move(string sourceDirName, string destDirName)
Parameters
Type |
Name |
Description |
string |
sourceDirName |
|
string |
destDirName |
|
Implements
Extension Methods