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: 11.0.0
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
Events
  NameDescription
Public eventStatic memberOnGetVirtualDirectory
Handler to provide custom virtual directories.
Public eventStatic memberOnGetVirtualFile
Handler to provide custom virtual files.
Top
See Also