The DirectoryHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
DirectoryHelper |
Methods
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.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
CheckPermissions(String) |
Check permissions (checks read and write permissions).
| |
CheckPermissions(String, Boolean, Boolean, Boolean, Boolean) |
Check write permissions.
| |
CheckPermissionsInternal |
Check write permissions.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MoveDirectory |
Moves specified directory to new path.
| |
MoveDirectoryInternal |
Moves specified directory to new path.
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
Name | Description | |
---|---|---|
AllowCheckIOPermissions |
Allow checking IO permissions?
| |
IsWebRootWritable |
Returns whether web root is writable.
|
See Also