Click or drag to resize
ICacheTKey, TValue Interface
Identifies a key-value-cache.

Namespace: Beerendonk.Memoization
Assembly: Memoization (in Memoization.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public interface ICache<TKey, TValue>

Type Parameters

TKey
The type of the key.
TValue
The type of the value.

The ICacheTKey, TValue type exposes the following members.

Methods
  NameDescription
Public methodClear
Removes all keys and values from the cache.
Public methodGetOrAdd
Adds a key/value pair to the cache if the key does not already exist.
Top
See Also