The FolderProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | FolderProvider | DotNetNuke.Services.FileSystem.FolderProvider |
Methods
Name | Description | |
---|---|---|
![]() | AddFile |
Adds a new file to the specified folder.
|
![]() | AddFolder(String, FolderMappingInfo) |
Adds a new folder to a specified parent folder.
|
![]() | AddFolder(String, FolderMappingInfo, String) | |
![]() | CopyFile |
Copies the specified file to the destination folder.
|
![]() | DeleteFile |
Deletes the specified file.
|
![]() | DeleteFolder |
Deletes the specified folder.
|
![]() | EncryptValue | |
![]() | Equals | (Inherited from Object.) |
![]() | FileExists |
Checks the existence of the specified file in the underlying system.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FolderExists |
Checks the existence of the specified folder in the underlying system.
|
![]() | GetEncryptedSetting |
Gets the decrypted value of an encrypted folder mapping setting
|
![]() | GetFileAttributes |
Gets the file attributes of the specified file.
|
![]() | GetFiles |
Gets the list of file names contained in the specified folder.
|
![]() | GetFileSize |
Gets the file length.
|
![]() | GetFileStream(IFileInfo) |
Gets a file Stream of the specified file.
|
![]() | GetFileStream(IFolderInfo, String) |
Gets a file Stream of the specified file.
|
![]() | GetFileStream(IFolderInfo, IFileInfo, Int32) |
Gets a file Stream of the specified file.
|
![]() | GetFileUrl |
Gets the direct Url to the file.
|
![]() | GetFolderProviderIconPath |
Gets the URL of the image to display in FileManager tree.
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetHashCode(IFileInfo) | |
![]() | GetHashCode(IFileInfo, Stream) | |
![]() | GetLastModificationTime |
Gets the time when the specified file was last modified.
|
![]() ![]() | GetProviderList |
Get the list of all the folder providers.
|
![]() | GetSettingsControlVirtualPath |
Gets the virtual path of the control file used to display and update specific folder mapping settings. By default, the control name is Settings.ascx.
|
![]() | GetSubFolders |
Gets the list of subfolders for the specified folder.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Instance |
Gets an instance of a specific FolderProvider of a given name.
|
![]() | IsInSync |
Indicates if the specified file is synchronized.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MoveFile |
Moves a file to a new folder
|
![]() | MoveFolder |
Moves the folder and files at the specified folder path to the new folder path.
|
![]() | RenameFile |
Renames the specified file using the new filename.
|
![]() | RenameFolder |
Renames the specified folder using the new foldername.
|
![]() | SetFileAttributes |
Sets the specified attributes to the specified file.
|
![]() | SupportsFileAttributes |
Gets a value indicating if the underlying system supports file attributes.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpdateFile(IFileInfo, Stream) |
Updates the content of the specified file. It creates it if it doesn't exist.
|
![]() | UpdateFile(IFolderInfo, String, Stream) |
Updates the content of the specified file. It creates it if it doesn't exist.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
Name | Description | |
---|---|---|
![]() | IsStorageSecure |
Gets a value indicating if the provider ensures the files/folders it manages are secure from outside access.
|
![]() | RequiresNetworkConnectivity |
Gets a value indicating if the provider requires network connectivity to do its tasks.
|
![]() | SupportsMappedPaths |
Indicates if the folder provider supports mapped paths when creating new folders
|
![]() | SupportsMoveFile |
Gets a value indicating whether the provider supports the MoveFile method. If a provider supports the MoveFile method, the
folder manager does nt have to implement move by copying the file and then deleting the original.
|
![]() | SupportsMoveFolder |
Gets a value indicating whether the provider supports the MoveFolder method. If a provider supports the MoveFolder method, the
folder manager does not have to implement move by copying the folder and then deleting the original.
|