一款简单易用的基础网络通讯组件库。

RedisFeatureSetCache 方法

设置实际储存缓存。默认使用MemoryCacheTKey, TValue

Definition

命名空间: TouchSocket.Dmtp.Redis
程序集: TouchSocket.Dmtp (在 TouchSocket.Dmtp.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public RedisFeature SetCache(
	ICache<string, byte[]> cache
)

参数

cache  ICacheString, Byte

返回值

RedisFeature

[缺少 "M:TouchSocket.Dmtp.Redis.RedisFeature.SetCache(TouchSocket.Core.ICache{System.String,System.Byte[]})" 的 <returns> 文档]

参见