Click or drag to resize
Directory Class
Implementation of Directory provider for Azure.
Inheritance Hierarchy

Namespace: CMS.AzureStorage
Assembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 11.0.0
Syntax
C#
public class Directory : AbstractDirectory

The Directory type exposes the following members.

Constructors
  NameDescription
Public methodDirectory
Initializes a new instance of the Directory class, which provides operations with directories.
Top
Methods
  NameDescription
Public methodCreateDirectory
Creates all directories and subdirectories as specified by path.
(Overrides AbstractDirectoryCreateDirectory(String).)
Public methodStatic memberCreateDirectoryStructure
Creates directory structure for given path.
Public methodDelete(String)
Deletes an empty directory.
(Overrides AbstractDirectoryDelete(String).)
Public methodDelete(String, Boolean)
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.
(Overrides AbstractDirectoryDelete(String, Boolean).)
Public methodDeleteDirectoryStructure
Deletes all files in the directory structure. It works also in a shared hosting environment.
(Overrides AbstractDirectoryDeleteDirectoryStructure(String).)
Public methodEnumerateDirectories(String)
Returns an enumerable collection of directory names in a specified path.
(Inherited from AbstractDirectory.)
Public methodEnumerateDirectories(String, String)
Returns an enumerable collection of directory names that match a search pattern in a specified path.
(Inherited from AbstractDirectory.)
Public methodEnumerateDirectories(String, String, SearchOption)
Returns an enumerable collection of directory names that match a search pattern in a specified path, and optionally searches subdirectories.
(Overrides AbstractDirectoryEnumerateDirectories(String, String, SearchOption).)
Public methodEnumerateFiles(String)
Returns an enumerable collection of file names in a specified path.
(Inherited from AbstractDirectory.)
Public methodEnumerateFiles(String, String)
Returns an enumerable collection of file names that match a search pattern in a specified path.
(Overrides AbstractDirectoryEnumerateFiles(String, String).)
Public methodExists
Determines whether the given path refers to an existing directory on disk.
(Overrides AbstractDirectoryExists(String).)
Public methodStatic memberExistsInBlobStorage
Determines whether the given path refers to an existing directory on azure blob.
Public methodStatic memberExistsInFileSystem
Determines whether the given path refers to an existing directory on filesystem
Public methodGetAccessControl
Gets a FileSecurity object that encapsulates the access control list (ACL) entries for a specified file.
(Overrides AbstractDirectoryGetAccessControl(String).)
Public methodStatic memberGetBlobPathFromPath
Returns blob path from given file system path. Returns relative path with slashes '/' from the root of the blob storage.
Public methodStatic memberGetCaseValidPath
Returns lowered path if given container if not case sensitive. Otherwise method returns original path.
Public methodGetCurrentDirectory Obsolete.
Gets the current working directory of the application.
(Overrides AbstractDirectoryGetCurrentDirectory.)
Public methodGetDirectories(String)
Returns the names of subdirectories (including their paths) in the specified directory.
(Inherited from AbstractDirectory.)
Public methodGetDirectories(String, String)
Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory.
(Inherited from AbstractDirectory.)
Public methodGetDirectories(String, String, SearchOption)
Gets the names of the subdirectories (including their paths) that match the specified search pattern in the current directory, and optionally searches subdirectories.
(Overrides AbstractDirectoryGetDirectories(String, String, SearchOption).)
Public methodGetFiles(String)
Returns the names of files (including their paths) in the specified directory.
(Inherited from AbstractDirectory.)
Public methodGetFiles(String, String)
Returns the names of files (including their paths) that match the specified search pattern in the specified directory.
(Overrides AbstractDirectoryGetFiles(String, String).)
Public methodStatic memberGetPathFromUri
Returns system path from URI and container name.
Protected methodGetSearchCondition
Returns search condition delegate.
(Inherited from AbstractDirectory.)
Public methodStatic memberGetValidPath
Converts path to valid and lower case.
Public methodMove
Moves directory.
(Overrides AbstractDirectoryMove(String, String).)
Public methodPrepareFilesForImport
Prepares files for import. Converts them to media library.
(Overrides AbstractDirectoryPrepareFilesForImport(String).)
Top
See Also