C# 클래스 Telerik.Web.Mvc.WebAssetRegistry

The default web asset registry.
상속: IWebAssetRegistry
파일 보기 프로젝트 열기: juanplopes/simple-telerik

공개 메소드들

메소드 설명
Locate ( string virtualPath, string version ) : string

Returns the correct virtual path based upon the debug mode and version.

Retrieve ( string id ) : WebAsset

Retrieves the web asset by specified id.

Store ( string contentType, WebAssetItemGroup assetGroup ) : string

Stores the specified asset group.

WebAssetRegistry ( bool isInDebugMode, ICacheManager cacheManager, IWebAssetLocator assetLocator, IUrlResolver urlResolver, IPathResolver pathResolver, IVirtualPathProvider virtualPathProvider ) : System

Initializes a new instance of the WebAssetRegistry class.

비공개 메소드들

메소드 설명
Compress ( string target ) : string
CreateIdFrom ( MergedAsset mergedAsset ) : string
CreateMergedAssetFromConfiguration ( string id ) : MergedAsset
CreateMergedAssetFromUrl ( string id ) : MergedAsset
CreateMergedAssetWith ( string contentType, WebAssetItemGroup assetGroup ) : MergedAsset
CreateSerializer ( ) : System.Web.Script.Serialization.JavaScriptSerializer
Decode ( string target ) : string
Decompress ( string target ) : string
Deserialize ( string json ) : MergedAsset
Encode ( string target ) : string
EnsureAsset ( MergedAsset asset, string id ) : WebAssetHolder
GetWebAssetHolder ( string key ) : WebAssetHolder
ReplaceImagePath ( string baseDiretory, string content ) : string
Serialize ( MergedAsset mergedAsset ) : string

메소드 상세

Locate() 공개 메소드

Returns the correct virtual path based upon the debug mode and version.
public Locate ( string virtualPath, string version ) : string
virtualPath string The virtual path.
version string The version.
리턴 string

Retrieve() 공개 메소드

Retrieves the web asset by specified id.
public Retrieve ( string id ) : WebAsset
id string The id.
리턴 WebAsset

Store() 공개 메소드

Stores the specified asset group.
public Store ( string contentType, WebAssetItemGroup assetGroup ) : string
contentType string Type of the content.
assetGroup WebAssetItemGroup The asset group.
리턴 string

WebAssetRegistry() 공개 메소드

Initializes a new instance of the WebAssetRegistry class.
public WebAssetRegistry ( bool isInDebugMode, ICacheManager cacheManager, IWebAssetLocator assetLocator, IUrlResolver urlResolver, IPathResolver pathResolver, IVirtualPathProvider virtualPathProvider ) : System
isInDebugMode bool if set to true [is in debug mode].
cacheManager ICacheManager The cache manager.
assetLocator IWebAssetLocator The asset locator.
urlResolver IUrlResolver The URL resolver.
pathResolver IPathResolver The path resolver.
virtualPathProvider IVirtualPathProvider The virtual path provider.
리턴 System