C# 클래스 Phun.Routing.ResourceVirtualPathProvider

Allow for mapping of contents to our resources.
상속: System.Web.Hosting.VirtualPathProvider
파일 보기 프로젝트 열기: noogen/phuncms 1 사용 예제들

공개 메소드들

메소드 설명
FileExists ( string virtualPath ) : bool

Files the exists.

GetCacheDependency ( string virtualPath, IEnumerable 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.

ResourceVirtualPathProvider ( ) : System

Initializes a new instance of the ResourceVirtualPathProvider class.

비공개 메소드들

메소드 설명
IsEmbeddedResourcePath ( string virtualPath ) : bool

Determines whether [is embedded resource path] [the specified virtual path].

메소드 상세

FileExists() 공개 메소드

Files the exists.
public FileExists ( string virtualPath ) : bool
virtualPath string The virtual path.
리턴 bool

GetCacheDependency() 공개 메소드

Creates a cache dependency based on the specified virtual paths.
public GetCacheDependency ( string virtualPath, IEnumerable virtualPathDependencies, System.DateTime utcStart ) : System.Web.Caching.CacheDependency
virtualPath string The path to the primary virtual resource.
virtualPathDependencies IEnumerable 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.
리턴 System.Web.Caching.CacheDependency

GetFile() 공개 메소드

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.
리턴 System.Web.Hosting.VirtualFile

ResourceVirtualPathProvider() 공개 메소드

Initializes a new instance of the ResourceVirtualPathProvider class.
public ResourceVirtualPathProvider ( ) : System
리턴 System