C# Класс Framework.Mvc.Resources.YamlResourceCacheHolder

YAML resources collection.
Наследование: IResourceCachesHolder
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ContainsCache() публичный Метод

Determines whether the specified cache key contains cache.
public ContainsCache ( String cacheKey ) : bool
cacheKey String The cache key.
Результат bool

GetCache() публичный Метод

Gets the cache.
public GetCache ( String scope ) : IResourceCache
scope String The scope.
Результат IResourceCache

YamlResourceCacheHolder() публичный Метод

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.
Результат System