C# Class SuperMap.Connector.CacheManager

缓存管理类。
Afficher le fichier Open project: SuperMap/iClient-for-DotNet

Méthodes publiques

Свойство Type Description
CacheDuration int

Méthodes publiques

Méthode Description
AddCache ( string key, object data ) : bool

根据给定的Key和数据,加入到缓存中。

GetCache ( string key ) : object

根据给定的key获取到一个对应的缓存。

Private Methods

Méthode Description
CacheManager ( ) : System

Method Details

AddCache() public méthode

根据给定的Key和数据,加入到缓存中。
public AddCache ( string key, object data ) : bool
key string 缓存的key。
data object 缓存的内容。
Résultat bool

GetCache() public méthode

根据给定的key获取到一个对应的缓存。
public GetCache ( string key ) : object
key string 缓存的key。
Résultat object

Property Details

CacheDuration public_oe static_oe property

public static int CacheDuration
Résultat int