LRUCache<TKey,TValue> 建構函式

定義

多載

LRUCache<TKey,TValue>()

初始化 LRUCache<TKey,TValue> 類別的新執行個體。

LRUCache<TKey,TValue>(Int32)

初始化 LRUCache<TKey,TValue> 類別的新執行個體。

LRUCache<TKey,TValue>()

初始化 LRUCache<TKey,TValue> 類別的新執行個體。

public LRUCache ();
Public Sub New ()

適用於

LRUCache<TKey,TValue>(Int32)

初始化 LRUCache<TKey,TValue> 類別的新執行個體。

public LRUCache (int capacity);
new AdaptiveExpressions.LRUCache<'Key, 'Value> : int -> AdaptiveExpressions.LRUCache<'Key, 'Value>
Public Sub New (capacity As Integer)

參數

capacity
Int32

要快取的專案數目上限。

適用於