• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DirectoryWrapper

Inheritance
System.Object
ComponentBase<IDirectory, DirectoryWrapper>
DirectoryWrapper
Implements
IDirectory
Inherited Members
ComponentBase<IDirectory, DirectoryWrapper>.Instance
ComponentBase<IDirectory, DirectoryWrapper>.RegisterInstance(IDirectory)
Namespace: DotNetNuke.Services.FileSystem.Internal
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

IDirectory

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS