Click or drag to resize
DbPathProvider Class
Virtual path provider dynamically loads content from virtual paths.
Inheritance Hierarchy

Namespace: CMS.VirtualPathProvider
Assembly: CMS.VirtualPathProvider (in CMS.VirtualPathProvider.dll) Version: 8.2.23
Syntax
C#
public class DbPathProvider : VirtualPathProvider, 
	IVirtualPathProvider

The DbPathProvider type exposes the following members.

Constructors
  NameDescription
Public methodDbPathProvider
Top
Methods
  NameDescription
Public methodFileExists
Finds whether the file, which is part of given virtual path, exists on the virtual file system or on the normal file system.
(Overrides VirtualPathProviderFileExists(String).)
Public methodGetCacheDependency
Overridden method 'GetCacheDependency()'.
(Overrides VirtualPathProviderGetCacheDependency(String, IEnumerable, DateTime).)
Public methodGetDirectory
This method is used by the compilation system to obtain a VirtualDirectory instance to work with a given virtual directory
(Overrides VirtualPathProviderGetDirectory(String).)
Public methodGetFile
This method is used by the compilation system to obtain a VirtualFile instance to work with a given virtual file path.
(Overrides VirtualPathProviderGetFile(String).)
Public methodGetFileHash
Gets the file hash for the given virtual file.
(Overrides VirtualPathProviderGetFileHash(String, IEnumerable).)
Protected methodGetVirtualDirectory
Returns virtual directory for the given path.
Protected methodGetVirtualFile
Returns virtual file for the given path.
Public methodRegister
Register current virtual path provider
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
Properties
  NameDescription
Public propertyEnabled
If true, the virtual path provider is enabled
Top
Events
  NameDescription
Public eventStatic memberOnGetVirtualDirectory
Handler to provide custom virtual directories.
Public eventStatic memberOnGetVirtualFile
Handler to provide custom virtual files.
Top
See Also