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: 8.2.23
Syntax
C#
public class VirtualPathHelper

The VirtualPathHelper type exposes the following members.

Constructors
  NameDescription
Public methodVirtualPathHelper
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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.
Top
See Also