GenericCacheTKey, TValueGetKeys 方法

获取缓存中所有键的列表 返回的列表是只读的,对缓存的修改不会影响此列表 注意:在缓存较大时,此操作可能会消耗较多内存

Definition

命名空间: Suresking.Utility
程序集: Suresking.Utility (在 Suresking.Utility.dll 中) 版本:1.3.22+a27276bb8ffde055e69ff608e98aafba279e1e99
C#
public static IReadOnlyList<TKey> GetKeys()

返回值

IReadOnlyListTKey
缓存键的只读列表

参见