C# Class JinianNet.JNTemplate.Caching.MemoryCache

简易内存缓存
Inheritance: ICache
Datei anzeigen Open project: jiniannet/jntemplate

Public Methods

Method Description
Dispose ( ) : void

释放非托管资源

Get ( String key ) : object

获取键为key的缓存

GetEnumerator ( ) : System.Collections.IEnumerator

Enumerator

MemoryCache ( ) : System

内存缓存

Remove ( string key ) : object

移除键为key的缓存

Set ( String key, Object value ) : void

添加缓存

Method Details

Dispose() public method

释放非托管资源
public Dispose ( ) : void
return void

Get() public method

获取键为key的缓存
public Get ( String key ) : object
key String
return object

GetEnumerator() public method

Enumerator
public GetEnumerator ( ) : System.Collections.IEnumerator
return System.Collections.IEnumerator

MemoryCache() public method

内存缓存
public MemoryCache ( ) : System
return System

Remove() public method

移除键为key的缓存
public Remove ( string key ) : object
key string
return object

Set() public method

添加缓存
public Set ( String key, Object value ) : void
key String
value Object
return void