Class StandardFolderProvider
Inheritance
StandardFolderProvider
Assembly: DotNetNuke.dll
Syntax
public class StandardFolderProvider : FolderProvider
Constructors
StandardFolderProvider()
Declaration
public StandardFolderProvider()
Properties
RequiresNetworkConnectivity
Declaration
public override bool RequiresNetworkConnectivity { get; }
Property Value
Overrides
SupportsMoveFile
Declaration
public override bool SupportsMoveFile { get; }
Property Value
Overrides
SupportsMoveFolder
Declaration
public override bool SupportsMoveFolder { get; }
Property Value
Overrides
Methods
AddFile(IFolderInfo, string, Stream)
Declaration
public override void AddFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Overrides
AddFolder(string, FolderMappingInfo)
Declaration
public override void AddFolder(string folderPath, FolderMappingInfo folderMapping)
Parameters
Overrides
CopyFile(string, string, string, FolderMappingInfo)
Declaration
public override void CopyFile(string folderPath, string fileName, string newFolderPath, FolderMappingInfo folderMapping)
Parameters
Overrides
DeleteFile(IFileInfo)
Declaration
public override void DeleteFile(IFileInfo file)
Parameters
Overrides
DeleteFolder(IFolderInfo)
Declaration
public override void DeleteFolder(IFolderInfo folder)
Parameters
Overrides
FileExists(IFolderInfo, string)
Declaration
public override bool FileExists(IFolderInfo folder, string fileName)
Parameters
Returns
Overrides
FolderExists(string, FolderMappingInfo)
Declaration
public override bool FolderExists(string folderPath, FolderMappingInfo folderMapping)
Parameters
Returns
Overrides
GetActualPath(FolderMappingInfo, string)
Declaration
protected virtual string GetActualPath(FolderMappingInfo folderMapping, string folderPath)
Parameters
Returns
GetActualPath(FolderMappingInfo, string, string)
Declaration
protected virtual string GetActualPath(FolderMappingInfo folderMapping, string folderPath, string fileName)
Parameters
Returns
GetActualPath(IFileInfo)
Declaration
protected virtual string GetActualPath(IFileInfo file)
Parameters
Returns
GetActualPath(IFolderInfo)
Declaration
protected virtual string GetActualPath(IFolderInfo folder)
Parameters
Returns
GetActualPath(IFolderInfo, string)
Declaration
protected virtual string GetActualPath(IFolderInfo folder, string fileName)
Parameters
Returns
GetFileAttributes(IFileInfo)
Declaration
public override FileAttributes? GetFileAttributes(IFileInfo file)
Parameters
Returns
Overrides
GetFileSize(IFileInfo)
Declaration
public override long GetFileSize(IFileInfo file)
Parameters
Returns
Overrides
GetFileStream(IFileInfo)
Declaration
public override Stream GetFileStream(IFileInfo file)
Parameters
Returns
Overrides
GetFileStream(IFolderInfo, string)
Declaration
public override Stream GetFileStream(IFolderInfo folder, string fileName)
Parameters
Returns
Overrides
GetFileStreamInternal(string)
Declaration
protected Stream GetFileStreamInternal(string filePath)
Parameters
Type |
Name |
Description |
string |
filePath |
|
Returns
GetFileUrl(IFileInfo)
Declaration
public override string GetFileUrl(IFileInfo file)
Parameters
Returns
Overrides
GetFiles(IFolderInfo)
Declaration
public override string[] GetFiles(IFolderInfo folder)
Parameters
Returns
Overrides
GetFolderProviderIconPath()
Declaration
public override string GetFolderProviderIconPath()
Returns
Overrides
GetLastModificationTime(IFileInfo)
Declaration
public override DateTime GetLastModificationTime(IFileInfo file)
Parameters
Returns
Overrides
GetRelativePath(FolderMappingInfo, string)
Declaration
protected virtual string GetRelativePath(FolderMappingInfo folderMapping, string path)
Parameters
Returns
GetSubFolders(string, FolderMappingInfo)
Declaration
public override IEnumerable<string> GetSubFolders(string folderPath, FolderMappingInfo folderMapping)
Parameters
Returns
Overrides
IsInSync(IFileInfo)
Declaration
public override bool IsInSync(IFileInfo file)
Parameters
Returns
Overrides
MoveFile(IFileInfo, IFolderInfo)
Declaration
public override void MoveFile(IFileInfo file, IFolderInfo destinationFolder)
Parameters
Overrides
MoveFolder(string, string, FolderMappingInfo)
Declaration
public override void MoveFolder(string folderPath, string newFolderPath, FolderMappingInfo folderMapping)
Parameters
Overrides
RenameFile(IFileInfo, string)
Declaration
public override void RenameFile(IFileInfo file, string newFileName)
Parameters
Overrides
RenameFolder(IFolderInfo, string)
Declaration
public override void RenameFolder(IFolderInfo folder, string newFolderName)
Parameters
Overrides
SetFileAttributes(IFileInfo, FileAttributes)
Declaration
public override void SetFileAttributes(IFileInfo file, FileAttributes fileAttributes)
Parameters
Overrides
SupportsFileAttributes()
Declaration
public override bool SupportsFileAttributes()
Returns
Overrides
UpdateFile(IFileInfo, Stream)
Declaration
public override void UpdateFile(IFileInfo file, Stream content)
Parameters
Overrides
UpdateFile(IFolderInfo, string, Stream)
Declaration
public override void UpdateFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Overrides
Extension Methods