类库说明文档
JHCache Class |
实现用于 Web 应用程序的缓存,该类为密封类
Inheritance Hierarchy
Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHCache
The JHCache type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetTtype(String) |
获取当前应用程序的 System.Web.Caching.Cache 中存放的指定键的值
如果异常或获取为 null,则返回当前类型的默认值 default(Ttype)
| |
GetTtype(String, Ttype) |
获取当前应用程序的 System.Web.Caching.Cache 中存放的指定键的值
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Set(String, Object, DateTime) |
将指定项添加到 System.Web.Caching.Cache 对象
使用较高的优先级别,在服务器释放系统内存时,具有该优先级级别的缓存项最不可能被从缓存删除
| |
Set(String, Object, DateTime, CacheItemPriority) |
将指定项添加到 System.Web.Caching.Cache 对象
| |
ToString | (Inherited from Object.) |
See Also