The PathUtils type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddTrailingSlash |
Adds backslash to the specified source.
|
![]() | 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.) |
![]() | FormatFolderPath |
Formats the provided folder path by adding a slash if needed.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPhysicalPath |
Gets the physical path for the specified relative path.
|
![]() | GetRelativePath |
Gets the relative path for the specified physical path.
|
![]() | GetRootFolderMapPath |
Gets the physical root folder path for the specified portal
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUserFolderPath |
Gets the path to a user folder.
|
![]() | GetUserFolderPathElement |
Get elements from the user folder path.
|
![]() | IsDefaultProtectedPath |
Checks if a folder is a default protected folder.
|
![]() | MapPath |
The MapPath method maps the specified relative or virtual path to the corresponding physical directory on the server.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveTrailingSlash |
Removes the trailing slash or backslash from the specified source.
|
![]() | StripFolderPath |
Strips the original path by removing starting 0 or 0\\.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |