Click or drag to resize
CachedDefault Class
基于ASP.NET缓存服务
Inheritance Hierarchy
SystemObject
  Beyondbit.Cached.InterfaceCachedDefault

Namespace: Beyondbit.Cached.Interface
Assembly: Beyondbit.Cached.Interface (in Beyondbit.Cached.Interface.dll) Version: 2.0.5478.22541 (2.0.5478.22541)
Syntax
C#
public class CachedDefault : ICached

The CachedDefault type exposes the following members.

Constructors
  NameDescription
Public methodCachedDefault
构造函数
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet(String, String)
获取缓存字符串
Public methodGetT(String, String)
获取缓存对象
Public methodGetByFullKey(String)
使用完整键获取缓存字符串
Public methodGetByFullKeyT(String)
获取缓存对象
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetJson
获取JSON字符串
Public methodGetObject
获取缓存对象
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
删除缓存数据
Public methodRemoveAll
删除所有缓存
Public methodRemoveFullKey
删除缓存数据
Public methodRemoveStartWith
Public methodSet(String, Object, String)
缓存对象
Public methodSet(String, Object, DateTime, String)
缓存对象
Public methodSetByDay
根据天数缓存对象
Public methodSetByFullKey
缓存对象
Public methodSetByHour
根据小时缓存对象
Public methodSetByMinute
根据分钟缓存对象
Public methodSetBySecond
根据秒数缓存对象
Public methodSetDepend
设置依赖
Public methodSetJson
缓存JSON字符串
Public methodSetObject
缓存对象
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCacheDependDic
缓存依赖字典
Top
Remarks
  • 缓存键格式 -
    主键[维度1][维度2]...[维度n],比如:Demo[dimension1][dimension2]。
See Also