C# 클래스 Masonry.Core.Hosting.AggregateVirtualPathProvider

Virtual path provider used to provide resources from multiple sources.
상속: System.Web.Hosting.VirtualPathProvider
파일 보기 프로젝트 열기: DenisVuyka/Masonry 1 사용 예제들

공개 메소드들

메소드 설명
Add ( IVirtualFileProvider fileProvider ) : void

Add a new file provider

AggregateVirtualPathProvider ( ) : System
FileExists ( string virtualPath ) : bool

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

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

Creates a cache dependency based on the specified virtual paths.

GetCacheKey ( string virtualPath ) : string

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

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

Gets a virtual file from the virtual file system.

GetFileHash ( string virtualPath, IEnumerable virtualPathDependencies ) : string

Returns a hash of the specified virtual paths.

메소드 상세

Add() 공개 메소드

Add a new file provider
public Add ( IVirtualFileProvider fileProvider ) : void
fileProvider IVirtualFileProvider
리턴 void

AggregateVirtualPathProvider() 공개 메소드

public AggregateVirtualPathProvider ( ) : System
리턴 System

FileExists() 공개 메소드

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.
리턴 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

GetCacheKey() 공개 메소드

Returns a cache key to use for the specified virtual path.
public GetCacheKey ( string virtualPath ) : string
virtualPath string The path to the virtual resource.
리턴 string

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

GetFileHash() 공개 메소드

Returns a hash of the specified virtual paths.
public GetFileHash ( string virtualPath, IEnumerable virtualPathDependencies ) : string
virtualPath string The path to the primary virtual resource.
virtualPathDependencies IEnumerable An array of paths to other virtual resources required by the primary virtual resource.
리턴 string