System.Web.Hosting.VirtualPathProvider: Method Members

The methods of System.Web.Hosting.VirtualPathProvider are listed below. For a list of all members, see the VirtualPathProvider Members list.

See Also: Inherited members from System.MarshalByRefObject

Public Methods

CombineVirtualPaths(string, string) : string

Combines a base path with a relative path to return a complete path to a virtual resource.

DirectoryExists(string) : bool

Gets a value that indicates whether a directory exists in the virtual file system.

FileExists(string) : bool

Gets a value that indicates whether a file exists in the virtual file system.

GetCacheDependency(string, IEnumerable, DateTime) : System.Web.Caching.CacheDependency

Creates a cache dependency based on the specified virtual paths.

GetCacheKey(string) : string

Returns a cache key to use for the specified virtual path.

GetDirectory(string) : VirtualDirectory

Gets a virtual directory from the virtual file system.

GetFile(string) : VirtualFile

Gets a virtual file from the virtual file system.

GetFileHash(string, IEnumerable) : string

Returns a hash of the specified virtual paths.

override
InitializeLifetimeService() : object

Gives the System.Web.Hosting.VirtualPathProvider object an infinite lifetime by preventing a lease from being created.

static
OpenFile(string) : System.IO.Stream

Returns a stream from a virtual file.

Protected Methods