WebPathMapperBase Class |
Namespace: CMS.Base.Internal
public abstract class WebPathMapperBase : IWebPathMapper
The WebPathMapperBase type exposes the following members.
Name | Description | |
---|---|---|
WebPathMapperBase |
Name | Description | |
---|---|---|
BACKSLASH | \ | |
DirectorySeparator |
Platform specific directory separator.
| |
FORWARDSLASH | / | |
FORWARDSLASHx2 | // | |
TILDA_BACKSLASH | ~\ | |
TILDA_FORWARDSLASH | ~/ |
Name | Description | |
---|---|---|
GetRootPath |
Gets the application root path.
| |
GetStaticFilesRootPath |
Returns a path to the folder containing static files for the web application.
| |
MapPath |
Returns the full physical file path from the relativePath.
For the application residing in C:\\folder\\appFolder and "~/AppData" relativePath parameter, the result will be C:\\folder\\appFolder\\AppData. | |
MapPathInternal |
Returns the full physical file path from the relativePath.
For the application residing in C:\\folder\\appFolder and "~/AppData" relativePath parameter,
the result will be C:\\folder\\appFolder\\AppData.
| |
TryMapPath |
Converts the provided relative path to a corresponding full physical path. A return value indicates whether the conversion succeeded.
For the application residing in C:\\folder\\appFolder and "~/AppData" relativePath parameter, the result will be C:\\folder\\appFolder\\AppData. |