CacheHelper Class | Helper帮助文档 |
缓存帮助类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class CacheHelper
Public Class CacheHelper
public ref class CacheHelper
type CacheHelper = class end
The CacheHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CacheHelper | Initializes a new instance of the CacheHelper class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetCache |
获取数据缓存
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveAllCache |
移除全部缓存
| |
RemoveAllCache(String) |
移除指定数据缓存
| |
SetCache(String, Object) |
设置数据缓存
| |
SetCache(String, Object, TimeSpan) |
设置数据缓存
| |
SetCache(String, Object, DateTime, TimeSpan) |
设置数据缓存
| |
ToString | (Inherited from Object.) |
See Also