DirectoryHelper Class |
Namespace: CMS.IO
public class DirectoryHelper : AbstractHelper<DirectoryHelper>
The DirectoryHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | DirectoryHelper |
Name | Description | |
---|---|---|
![]() ![]() | CombinePath |
Combines parts of one path together, handles back slashes. Path ends without backslash.
|
![]() | CombinePathInternal |
Combines parts of one path together, handles back slashes.
|
![]() ![]() | CopyDirectory |
Copies specified directory including its subdirectories and all underlying files.
|
![]() | CopyDirectoryInternal |
Copies specified directory including its subdirectories and all underlying files.
|
![]() ![]() | CopyFile |
Copies the file.
|
![]() | CopyFileInternal |
Copies the file.
|
![]() ![]() | CreateDirectory |
Creates directory. It works also in a shared hosting environment.
|
![]() | CreateDirectoryInternal |
Creates directory. It works also in a shared hosting environment.
|
![]() ![]() | DeleteDirectory(String) |
Deletes the directory. It works also in a shared hosting environment.
|
![]() ![]() | DeleteDirectory(String, Boolean) |
Deletes the directory. It works also in a shared hosting environment.
|
![]() | DeleteDirectoryInternal(String) |
Deletes the directory. It works also in a shared hosting environment.
|
![]() | DeleteDirectoryInternal(String, Boolean) |
Deletes the directory. It works also in a shared hosting environment.
|
![]() ![]() | DeleteDirectoryStructure |
Deletes the directory structure. It works also in a shared hosting environment.
|
![]() | DeleteDirectoryStructureInternal |
Deletes the directory structure. It works also in a shared hosting environment.
|
![]() ![]() | EnsureDiskPath |
Checks if all folders of the given path exist and if not, it creates them.
|
![]() | EnsureDiskPathInternal |
Checks if all folders of the given path exist and if not, it creates them.
|
![]() ![]() | EnsurePathBackSlash |
This method ensures that path will end with one backslash.
|
![]() | EnsurePathBackSlashInternal |
This method ensures that path will end with one backslash.
|
![]() ![]() | CheckPermissions(String) |
Check permissions (checks read and write permissions).
|
![]() ![]() | CheckPermissions(String, Boolean, Boolean, Boolean, Boolean) |
Check write permissions.
|
![]() | CheckPermissionsInternal |
Check write permissions.
|
![]() ![]() | MoveDirectory |
Moves specified directory to new path.
|
![]() | MoveDirectoryInternal |
Moves specified directory to new path.
|
![]() | SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | AllowCheckIOPermissions |
Allow checking IO permissions?
|
![]() ![]() | IsWebRootWritable |
Returns whether web root is writable.
|