C# 클래스 Spring.Globalization.AbstractResourceCache

Abstract base class that all resource cache implementations should extend.
상속: IResourceCache
파일 보기 프로젝트 열기: spring-projects/spring-net

공개 메소드들

메소드 설명
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