C# Class Framework.Mvc.Resources.YamlResourceCacheHolder

YAML resources collection.
Inheritance: IResourceCachesHolder
显示文件 Open project: coreframework/Core-Framework Class Usage Examples

Public Methods

Method Description
ContainsCache ( String cacheKey ) : bool

Determines whether the specified cache key contains cache.

GetCache ( String scope ) : IResourceCache

Gets the cache.

YamlResourceCacheHolder ( Framework.Core.Configuration.Environment environment, String defaultResourcesPath ) : System

Initializes a new instance of the YamlResourceCacheHolder class.

Method Details

ContainsCache() public method

Determines whether the specified cache key contains cache.
public ContainsCache ( String cacheKey ) : bool
cacheKey String The cache key.
return bool

GetCache() public method

Gets the cache.
public GetCache ( String scope ) : IResourceCache
scope String The scope.
return IResourceCache

YamlResourceCacheHolder() public method

Initializes a new instance of the YamlResourceCacheHolder class.
public YamlResourceCacheHolder ( Framework.Core.Configuration.Environment environment, String defaultResourcesPath ) : System
environment Framework.Core.Configuration.Environment The environment.
defaultResourcesPath String The default resources path.
return System