C# 클래스 Util.Cache

파일 보기 프로젝트 열기: jediskywalker/RTDeals 1 사용 예제들

공개 메소드들

메소드 설명
GetCacheItem ( string key ) : object

get specified cache item based on key provided

RemoveCacheItem ( string key ) : void

remove specified cache item

SetCacheItem ( string key, object data, int expireInSeconds ) : void

Insert an item into cache

비공개 메소드들

메소드 설명
Cache ( ) : System
ExpireCheck ( ) : void

메소드 상세

GetCacheItem() 공개 정적인 메소드

get specified cache item based on key provided
public static GetCacheItem ( string key ) : object
key string
리턴 object

RemoveCacheItem() 공개 정적인 메소드

remove specified cache item
public static RemoveCacheItem ( string key ) : void
key string
리턴 void

SetCacheItem() 공개 정적인 메소드

Insert an item into cache
public static SetCacheItem ( string key, object data, int expireInSeconds ) : void
key string
data object
expireInSeconds int
리턴 void