C# Class Ivony.Caching.CacheDependency

定义缓存无效策略
Mostra file Open project: Ivony/Ivony.Caching Class Usage Examples

Public Methods

Method Description
Combine ( ) : CacheDependency

合并多个缓存无效策略

Create ( System.DateTime expires ) : CacheDependency

从固定过期时间创建缓存无效策略

GetCacheState ( ) : CacheState

获取缓存项有效状态

Parse ( string text ) : CacheDependency

从文本中解析出缓存无效策略

operator ( ) : CacheDependency

合并两个缓存无效策略

Private Methods

Method Description
ParseItem ( string text ) : CacheDependency

Method Details

Combine() public static method

合并多个缓存无效策略
public static Combine ( ) : CacheDependency
return CacheDependency

Create() public static method

从固定过期时间创建缓存无效策略
public static Create ( System.DateTime expires ) : CacheDependency
expires System.DateTime 过期时间
return CacheDependency

GetCacheState() public abstract method

获取缓存项有效状态
public abstract GetCacheState ( ) : CacheState
return CacheState

Parse() public static method

从文本中解析出缓存无效策略
public static Parse ( string text ) : CacheDependency
text string
return CacheDependency

operator() public static method

合并两个缓存无效策略
public static operator ( ) : CacheDependency
return CacheDependency