C# Class Spring.Globalization.AbstractResourceCache

Abstract base class that all resource cache implementations should extend.
Inheritance: IResourceCache
Afficher le fichier Open project: spring-projects/spring-net

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

CreateCacheKey() protected méthode

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.
Résultat string

GetResources() public méthode

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.
Résultat IList

GetResources() protected abstract méthode

Gets the list of resources from cache.
protected abstract GetResources ( string cacheKey ) : IList
cacheKey string Cache key to use for lookup.
Résultat IList

PutResources() public méthode

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.
Résultat void

PutResources() protected abstract méthode

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.
Résultat void