public sealed class CacheEntry<TKey, TValue> : ICacheEntry<TKey, TValue>,
ICacheEntry
Public NotInheritable Class CacheEntry(Of TKey, TValue)
Implements ICacheEntry(Of TKey, TValue), ICacheEntry
[<SealedAttribute>]
type CacheEntry<'TKey, 'TValue> =
class
interface ICacheEntry<'TKey, 'TValue>
interface ICacheEntry
end
[缺少 "T:TouchSocket.Core.CacheEntry`2" 的 <typeparam name="TKey"/> 文档]
[缺少 "T:TouchSocket.Core.CacheEntry`2" 的 <typeparam name="TValue"/> 文档]
CacheEntryTKey, TValue(TKey) | 初始化缓存项对象。 |
CacheEntryTKey, TValue(TKey, TValue) | 构造函数:初始化缓存条目。 |
Duration | 有效区间。如果想长期有效,请使用Zero |
Key | 键 |
UpdateTime | 更新时间 |
Value | 值 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetType | Gets the Type of the current instance. (继承自 Object。) |
ToString | Returns a string that represents the current object. (继承自 Object。) |
Map | (由 Mapper 定义。) |
Map | (由 Mapper 定义。) |
MapTTarget | (由 Mapper 定义。) |
ToJsonString |
转换为Json
(由 SerializeConvert 定义。) |