Click or drag to resize
WebPathMapperBase Class
Base class for objects implementing IWebPathMapper interface.
Inheritance Hierarchy
SystemObject
  CMS.Base.InternalWebPathMapperBase

Namespace: CMS.Base.Internal
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public abstract class WebPathMapperBase : IWebPathMapper

The WebPathMapperBase type exposes the following members.

Constructors
  NameDescription
Protected methodWebPathMapperBase
Top
Fields
  NameDescription
Protected fieldStatic memberBACKSLASH
\
Protected fieldStatic memberDirectorySeparator
Platform specific directory separator.
Protected fieldStatic memberFORWARDSLASH
/
Protected fieldStatic memberFORWARDSLASHx2
//
Protected fieldStatic memberTILDA_BACKSLASH
~\
Protected fieldStatic memberTILDA_FORWARDSLASH
~/
Top
Methods
  NameDescription
Protected methodGetRootPath
Gets the application root path.
Public methodGetStaticFilesRootPath
Returns a path to the folder containing static files for the web application.
Public methodMapPath
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.

Protected methodMapPathInternal
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.
Public methodTryMapPath
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.

Top
See Also