메소드 | 설명 | |
---|---|---|
Locate ( string virtualPath, string version ) : string |
Returns the correct virtual path based upon the debug mode and version.
|
|
Retrieve ( string id ) : |
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 |
public Locate ( string virtualPath, string version ) : string | ||
virtualPath | string | The virtual path. |
version | string | The version. |
리턴 | string |
public Store ( string contentType, WebAssetItemGroup assetGroup ) : string | ||
contentType | string | Type of the content. |
assetGroup | WebAssetItemGroup | The asset group. |
리턴 | string |
public WebAssetRegistry ( bool isInDebugMode, ICacheManager cacheManager, IWebAssetLocator assetLocator, IUrlResolver urlResolver, IPathResolver pathResolver, IVirtualPathProvider virtualPathProvider ) : System | ||
isInDebugMode | bool | if set to |
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 |