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

Class FileWrapper

Inheritance
System.Object
ComponentBase<IFile, FileWrapper>
FileWrapper
Implements
IFile
Inherited Members
ComponentBase<IFile, FileWrapper>.Instance
ComponentBase<IFile, FileWrapper>.RegisterInstance(IFile)
Namespace: DotNetNuke.Services.FileSystem.Internal
Assembly: DotNetNuke.dll
Syntax
public class FileWrapper : ComponentBase<IFile, FileWrapper>, IFile

Methods

| Improve this Doc View Source

Copy(String, String, Boolean)

Declaration
public void Copy(string sourceFileName, string destinationFileName, bool overwrite)
Parameters
Type Name Description
System.String sourceFileName
System.String destinationFileName
System.Boolean overwrite
| Improve this Doc View Source

Create(String)

Declaration
public Stream Create(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
Stream
| Improve this Doc View Source

Delete(String)

Declaration
public void Delete(string path)
Parameters
Type Name Description
System.String path
| 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

GetAttributes(String)

Declaration
public FileAttributes GetAttributes(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
FileAttributes
| Improve this Doc View Source

GetLastWriteTime(String)

Declaration
public DateTime GetLastWriteTime(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
DateTime
| Improve this Doc View Source

Move(String, String)

Declaration
public void Move(string sourceFileName, string destFileName)
Parameters
Type Name Description
System.String sourceFileName
System.String destFileName
| Improve this Doc View Source

OpenRead(String)

Declaration
public Stream OpenRead(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
Stream
| Improve this Doc View Source

ReadAllBytes(String)

Declaration
public byte[] ReadAllBytes(string path)
Parameters
Type Name Description
System.String path
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

SetAttributes(String, FileAttributes)

Declaration
public void SetAttributes(string path, FileAttributes fileAttributes)
Parameters
Type Name Description
System.String path
FileAttributes fileAttributes

Implements

IFile

Extension Methods

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