C# Class Zephyr.Web.Mvc.ZephyrViewEngineVirtualPathProvider

Inheritance: System.Web.Hosting.VirtualPathProvider
Afficher le fichier Open project: marufbd/Zephyr.NET Class Usage Examples

Méthodes publiques

Méthode Description
FileExists ( string virtualPath ) : bool

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

GetCacheDependency ( string virtualPath, System virtualPathDependencies, System.DateTime utcStart ) : System.Web.Caching.CacheDependency

Creates a cache dependency based on the specified virtual paths.

GetFile ( string virtualPath ) : System.Web.Hosting.VirtualFile

Gets a virtual file from the virtual file system.

Private Methods

Méthode Description
PathExists ( string path ) : bool

Check if a path exists in the virtual file system.

Method Details

FileExists() public méthode

Gets a value that indicates whether a file exists in the virtual file system.
public FileExists ( string virtualPath ) : bool
virtualPath string The path to the virtual file.
Résultat bool

GetCacheDependency() public méthode

Creates a cache dependency based on the specified virtual paths.
public GetCacheDependency ( string virtualPath, System virtualPathDependencies, System.DateTime utcStart ) : System.Web.Caching.CacheDependency
virtualPath string The path to the primary virtual resource.
virtualPathDependencies System An array of paths to other resources required by the primary virtual resource.
utcStart System.DateTime The UTC time at which the virtual resources were read.
Résultat System.Web.Caching.CacheDependency

GetFile() public méthode

Gets a virtual file from the virtual file system.
public GetFile ( string virtualPath ) : System.Web.Hosting.VirtualFile
virtualPath string The path to the virtual file.
Résultat System.Web.Hosting.VirtualFile