CacheHelper Class

HD.Common

CacheHelper Class Helper帮助文档
缓存帮助类
Inheritance Hierarchy

SystemObject  HD.CommonCacheHelper

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

  NameDescription
Public methodCacheHelper
Initializes a new instance of the CacheHelper class
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGetCache
获取数据缓存
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberRemoveAllCache
移除全部缓存
Public methodStatic memberRemoveAllCache(String)
移除指定数据缓存
Public methodStatic memberSetCache(String, Object)
设置数据缓存
Public methodStatic memberSetCache(String, Object, TimeSpan)
设置数据缓存
Public methodStatic memberSetCache(String, Object, DateTime, TimeSpan)
设置数据缓存
Public methodToString (Inherited from Object.)
Top
See Also

Reference