VirtualPathHelper Class |
Namespace: CMS.IO
public class VirtualPathHelper
The VirtualPathHelper type exposes the following members.
Name | Description | |
---|---|---|
VirtualPathHelper |
Name | Description | |
---|---|---|
VERSION_GUID_PREFIX |
Version guid prefix used in control path
|
Name | Description | |
---|---|---|
ProviderObject |
Returns the helper object.
| |
URLParametersSeparator |
URL parameters separator.
| |
UsingVirtualPathProvider |
Indicates whether system is using virtual path provider.
| |
VirtualPathProviderAllowedByDefault |
Indicates whether virtual path provider should be used when virtual paths are registered on application start and CMSUseVirtualPathProvider application key is not defined. Default is true.
|
Name | Description | |
---|---|---|
GetVirtualFileObject |
Returns IVirtualFileObject for specified virtual path
| |
GetVirtualFileRelativePath |
Returns virtual relative for required parameters
| |
GetVirtualObjectName |
Returns virtual object name and prefixes if available
| |
IsSingleFileCompilationPath |
Returns true if current path is registered for single file compilation
| |
RegisterManagedCompilationPath |
Registers path to the part of the system which should be managed for single file or batch compilation
| |
RegisterVirtualPath(String, VirtualPathHelperGetVirtualFileObjectHandler) |
Register callback method for specified virtual path.
| |
RegisterVirtualPath(String, VirtualPathHelperGetVirtualFileObjectHandler, Boolean, VirtualPathHelperGetVirtualFileObjectHandler) |
Register callback method for specified virtual path
| |
RegisterVirtualPathProvider |
Creates the virtual path provider object and registers the object within the system.
| |
RemoveDirectives |
Removes the default layout directives from the layout code.
|