Show / Hide Table of Contents

Class StandardFolderProvider

Inheritance
object
FolderProvider
StandardFolderProvider
SecureFolderProvider
Inherited Members
FolderProvider.GetProviderList()
FolderProvider.Instance(string)
FolderProvider.AddFolder(string, FolderMappingInfo, string)
FolderProvider.GetFileStream(IFolderInfo, IFileInfo, int)
FolderProvider.GetSettingsControlVirtualPath()
FolderProvider.GetEncryptedSetting(Hashtable, string)
FolderProvider.EncryptValue(string)
FolderProvider.GetHashCode(IFileInfo)
FolderProvider.GetHashCode(IFileInfo, Stream)
FolderProvider.IsStorageSecure
FolderProvider.SupportsMappedPaths
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke.dll
Syntax
public class StandardFolderProvider : FolderProvider

Constructors

StandardFolderProvider()

Declaration
public StandardFolderProvider()

Properties

RequiresNetworkConnectivity

Declaration
public override bool RequiresNetworkConnectivity { get; }
Property Value
Type Description
bool
Overrides
FolderProvider.RequiresNetworkConnectivity

SupportsMoveFile

Declaration
public override bool SupportsMoveFile { get; }
Property Value
Type Description
bool
Overrides
FolderProvider.SupportsMoveFile

SupportsMoveFolder

Declaration
public override bool SupportsMoveFolder { get; }
Property Value
Type Description
bool
Overrides
FolderProvider.SupportsMoveFolder

Methods

AddFile(IFolderInfo, string, Stream)

Declaration
public override void AddFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Stream content
Overrides
FolderProvider.AddFile(IFolderInfo, string, Stream)

AddFolder(string, FolderMappingInfo)

Declaration
public override void AddFolder(string folderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
FolderMappingInfo folderMapping
Overrides
FolderProvider.AddFolder(string, FolderMappingInfo)

CopyFile(string, string, string, FolderMappingInfo)

Declaration
public override void CopyFile(string folderPath, string fileName, string newFolderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
string fileName
string newFolderPath
FolderMappingInfo folderMapping
Overrides
FolderProvider.CopyFile(string, string, string, FolderMappingInfo)

DeleteFile(IFileInfo)

Declaration
public override void DeleteFile(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Overrides
FolderProvider.DeleteFile(IFileInfo)

DeleteFolder(IFolderInfo)

Declaration
public override void DeleteFolder(IFolderInfo folder)
Parameters
Type Name Description
IFolderInfo folder
Overrides
FolderProvider.DeleteFolder(IFolderInfo)

FileExists(IFolderInfo, string)

Declaration
public override bool FileExists(IFolderInfo folder, string fileName)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Returns
Type Description
bool
Overrides
FolderProvider.FileExists(IFolderInfo, string)

FolderExists(string, FolderMappingInfo)

Declaration
public override bool FolderExists(string folderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
FolderMappingInfo folderMapping
Returns
Type Description
bool
Overrides
FolderProvider.FolderExists(string, FolderMappingInfo)

GetActualPath(FolderMappingInfo, string)

Declaration
protected virtual string GetActualPath(FolderMappingInfo folderMapping, string folderPath)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string folderPath
Returns
Type Description
string

GetActualPath(FolderMappingInfo, string, string)

Declaration
protected virtual string GetActualPath(FolderMappingInfo folderMapping, string folderPath, string fileName)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string folderPath
string fileName
Returns
Type Description
string

GetActualPath(IFileInfo)

Declaration
protected virtual string GetActualPath(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
string

GetActualPath(IFolderInfo)

Declaration
protected virtual string GetActualPath(IFolderInfo folder)
Parameters
Type Name Description
IFolderInfo folder
Returns
Type Description
string

GetActualPath(IFolderInfo, string)

Declaration
protected virtual string GetActualPath(IFolderInfo folder, string fileName)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Returns
Type Description
string

GetFileAttributes(IFileInfo)

Declaration
public override FileAttributes? GetFileAttributes(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
FileAttributes?
Overrides
FolderProvider.GetFileAttributes(IFileInfo)

GetFileSize(IFileInfo)

Declaration
public override long GetFileSize(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
long
Overrides
FolderProvider.GetFileSize(IFileInfo)

GetFileStream(IFileInfo)

Declaration
public override Stream GetFileStream(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
Stream
Overrides
FolderProvider.GetFileStream(IFileInfo)

GetFileStream(IFolderInfo, string)

Declaration
public override Stream GetFileStream(IFolderInfo folder, string fileName)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Returns
Type Description
Stream
Overrides
FolderProvider.GetFileStream(IFolderInfo, string)

GetFileStreamInternal(string)

Declaration
protected Stream GetFileStreamInternal(string filePath)
Parameters
Type Name Description
string filePath
Returns
Type Description
Stream

GetFileUrl(IFileInfo)

Declaration
public override string GetFileUrl(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
string
Overrides
FolderProvider.GetFileUrl(IFileInfo)

GetFiles(IFolderInfo)

Declaration
public override string[] GetFiles(IFolderInfo folder)
Parameters
Type Name Description
IFolderInfo folder
Returns
Type Description
string[]
Overrides
FolderProvider.GetFiles(IFolderInfo)

GetFolderProviderIconPath()

Declaration
public override string GetFolderProviderIconPath()
Returns
Type Description
string
Overrides
FolderProvider.GetFolderProviderIconPath()

GetLastModificationTime(IFileInfo)

Declaration
public override DateTime GetLastModificationTime(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
DateTime
Overrides
FolderProvider.GetLastModificationTime(IFileInfo)

GetRelativePath(FolderMappingInfo, string)

Declaration
protected virtual string GetRelativePath(FolderMappingInfo folderMapping, string path)
Parameters
Type Name Description
FolderMappingInfo folderMapping
string path
Returns
Type Description
string

GetSubFolders(string, FolderMappingInfo)

Declaration
public override IEnumerable<string> GetSubFolders(string folderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
FolderMappingInfo folderMapping
Returns
Type Description
IEnumerable<string>
Overrides
FolderProvider.GetSubFolders(string, FolderMappingInfo)

IsInSync(IFileInfo)

Declaration
public override bool IsInSync(IFileInfo file)
Parameters
Type Name Description
IFileInfo file
Returns
Type Description
bool
Overrides
FolderProvider.IsInSync(IFileInfo)

MoveFile(IFileInfo, IFolderInfo)

Declaration
public override void MoveFile(IFileInfo file, IFolderInfo destinationFolder)
Parameters
Type Name Description
IFileInfo file
IFolderInfo destinationFolder
Overrides
FolderProvider.MoveFile(IFileInfo, IFolderInfo)

MoveFolder(string, string, FolderMappingInfo)

Declaration
public override void MoveFolder(string folderPath, string newFolderPath, FolderMappingInfo folderMapping)
Parameters
Type Name Description
string folderPath
string newFolderPath
FolderMappingInfo folderMapping
Overrides
FolderProvider.MoveFolder(string, string, FolderMappingInfo)

RenameFile(IFileInfo, string)

Declaration
public override void RenameFile(IFileInfo file, string newFileName)
Parameters
Type Name Description
IFileInfo file
string newFileName
Overrides
FolderProvider.RenameFile(IFileInfo, string)

RenameFolder(IFolderInfo, string)

Declaration
public override void RenameFolder(IFolderInfo folder, string newFolderName)
Parameters
Type Name Description
IFolderInfo folder
string newFolderName
Overrides
FolderProvider.RenameFolder(IFolderInfo, string)

SetFileAttributes(IFileInfo, FileAttributes)

Declaration
public override void SetFileAttributes(IFileInfo file, FileAttributes fileAttributes)
Parameters
Type Name Description
IFileInfo file
FileAttributes fileAttributes
Overrides
FolderProvider.SetFileAttributes(IFileInfo, FileAttributes)

SupportsFileAttributes()

Declaration
public override bool SupportsFileAttributes()
Returns
Type Description
bool
Overrides
FolderProvider.SupportsFileAttributes()

UpdateFile(IFileInfo, Stream)

Declaration
public override void UpdateFile(IFileInfo file, Stream content)
Parameters
Type Name Description
IFileInfo file
Stream content
Overrides
FolderProvider.UpdateFile(IFileInfo, Stream)

UpdateFile(IFolderInfo, string, Stream)

Declaration
public override void UpdateFile(IFolderInfo folder, string fileName, Stream content)
Parameters
Type Name Description
IFolderInfo folder
string fileName
Stream content
Overrides
FolderProvider.UpdateFile(IFolderInfo, string, Stream)

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS