C# Класс Spring.Globalization.AbstractResourceCache

Abstract base class that all resource cache implementations should extend.
Наследование: IResourceCache
Показать файл Открыть проект

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

Метод Описание
GetResources ( object target, CultureInfo culture ) : IList

Gets the list of resources from the cache.

PutResources ( object target, CultureInfo culture, IList resources ) : void

Puts the list of resources in the cache.

Защищенные методы

Метод Описание
CreateCacheKey ( object target, CultureInfo culture ) : string

Crates resource cache key for the specified target object and culture.

GetResources ( string cacheKey ) : IList

Gets the list of resources from cache.

PutResources ( string cacheKey, IList resources ) : void

Puts the list of resources in the cache.

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

CreateCacheKey() защищенный Метод

Crates resource cache key for the specified target object and culture.
protected CreateCacheKey ( object target, CultureInfo culture ) : string
target object Target object to apply resources to.
culture System.Globalization.CultureInfo Resource culture to use for resource lookup.
Результат string

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

Gets the list of resources from the cache.
public GetResources ( object target, CultureInfo culture ) : IList
target object Target to get a list of resources for.
culture System.Globalization.CultureInfo Resource culture.
Результат IList

GetResources() защищенный абстрактный Метод

Gets the list of resources from cache.
protected abstract GetResources ( string cacheKey ) : IList
cacheKey string Cache key to use for lookup.
Результат IList

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

Puts the list of resources in the cache.
public PutResources ( object target, CultureInfo culture, IList resources ) : void
target object Target to cache a list of resources for.
culture System.Globalization.CultureInfo Resource culture.
resources IList A list of resources to cache.
Результат void

PutResources() защищенный абстрактный Метод

Puts the list of resources in the cache.
protected abstract PutResources ( string cacheKey, IList resources ) : void
cacheKey string Cache key to use for the specified resources.
resources IList A list of resources to cache.
Результат void