LRUCache<TKey,TValue> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LRUCache<TKey,TValue>() |
Initializes a new instance of the LRUCache<TKey,TValue> class. |
LRUCache<TKey,TValue>(Int32) |
Initializes a new instance of the LRUCache<TKey,TValue> class. |
LRUCache<TKey,TValue>()
Initializes a new instance of the LRUCache<TKey,TValue> class.
public LRUCache ();
Public Sub New ()
Applies to
LRUCache<TKey,TValue>(Int32)
Initializes a new instance of the LRUCache<TKey,TValue> class.
public LRUCache (int capacity);
new AdaptiveExpressions.LRUCache<'Key, 'Value> : int -> AdaptiveExpressions.LRUCache<'Key, 'Value>
Public Sub New (capacity As Integer)
Parameters
- capacity
- Int32
Maximum number of elements to cache.