这部分包括1部分:
CommunityComponents. CSCache 缓存处理类。
Static CSCache():提供取得当前上下文缓存,如当前上下文缓存尚未建立,则从公共语言运行时取得缓存。
对于缓存时间,该缓存只提供方法ReSetFactor(int cacheFactor)提供传递比例因子Factor,由此因子乘以默认静态变量DayFactor、HourFactor、MinuteFactor,以获取具体时间。默认Factor=5;
Clear():清楚缓存中所有内容。
RemoveByPattern(string pattern):根据指定正则表达式移除缓存中内容。
Remove(string key):移除指定键的值。
Insert():提供不同重载方法用于支持不同不同缓存策略的插入缓存方式。