C# 클래스 Abp.Runtime.Caching.Memory.AbpMemoryCache

Implements ICache to work with MemoryCache.
상속: CacheBase
파일 보기 프로젝트 열기: carldai0106/ABP

공개 메소드들

메소드 설명
AbpMemoryCache ( string name ) : System

Constructor.

Clear ( ) : void
Dispose ( ) : void
GetOrDefault ( string key ) : object
Remove ( string key ) : void
Set ( string key, object value, System.TimeSpan slidingExpireTime = null ) : void

메소드 상세

AbpMemoryCache() 공개 메소드

Constructor.
public AbpMemoryCache ( string name ) : System
name string Unique name of the cache
리턴 System

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetOrDefault() 공개 메소드

public GetOrDefault ( string key ) : object
key string
리턴 object

Remove() 공개 메소드

public Remove ( string key ) : void
key string
리턴 void

Set() 공개 메소드

public Set ( string key, object value, System.TimeSpan slidingExpireTime = null ) : void
key string
value object
slidingExpireTime System.TimeSpan
리턴 void