Click or drag to resize
VirtualPathHelper Class
Virtual path provider helper.
Inheritance Hierarchy
SystemObject
  CMS.IOVirtualPathHelper

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 12.0.0
Syntax
C#
public class VirtualPathHelper

The VirtualPathHelper type exposes the following members.

Constructors
  NameDescription
Public methodVirtualPathHelper
Top
Fields
  NameDescription
Public fieldStatic memberVERSION_GUID_PREFIX
Version guid prefix used in control path
Top
Properties
  NameDescription
Public propertyStatic memberProviderObject
Returns the helper object.
Public propertyStatic memberURLParametersSeparator
URL parameters separator.
Public propertyStatic memberUsingVirtualPathProvider
Indicates whether system is using virtual path provider.
Public propertyStatic memberVirtualPathProviderAllowedByDefault
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.
Top
Methods
  NameDescription
Public methodStatic memberGetVirtualFileObject
Returns IVirtualFileObject for specified virtual path
Public methodStatic memberGetVirtualFileRelativePath
Returns virtual relative for required parameters
Public methodStatic memberGetVirtualObjectName
Returns virtual object name and prefixes if available
Public methodStatic memberIsSingleFileCompilationPath
Returns true if current path is registered for single file compilation
Public methodStatic memberRegisterManagedCompilationPath
Registers path to the part of the system which should be managed for single file or batch compilation
Public methodStatic memberRegisterVirtualPath(String, VirtualPathHelperGetVirtualFileObjectHandler)
Register callback method for specified virtual path.
Public methodStatic memberRegisterVirtualPath(String, VirtualPathHelperGetVirtualFileObjectHandler, Boolean, VirtualPathHelperGetVirtualFileObjectHandler)
Register callback method for specified virtual path
Public methodStatic memberRegisterVirtualPathProvider
Creates the virtual path provider object and registers the object within the system.
Public methodStatic memberRemoveDirectives
Removes the default layout directives from the layout code.
Top
See Also