M_Cyjb_Cache_ConcurrentLruCache_2__ctor - CYJB/Cyjb GitHub Wiki

ConcurrentLruCache(TKey, TValue) 构造函数 (Int32)

使用指定的最大对象数目初始化 ConcurrentLruCache(TKey, TValue) 类的新实例。

Namespace: Cyjb.Cache
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6

语法

C#

public ConcurrentLruCache(
	int maxSize
)

参数

 

maxSize
Type: System.Int32
缓存中可以保存的最大对象数目,必须大于等于 2。

参见

Reference

ConcurrentLruCache(TKey, TValue) 类
ConcurrentLruCache(TKey, TValue) 重载
Cyjb.Cache 命名空间

⚠️ **GitHub.com Fallback** ⚠️