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