Click or drag to resize

ICacheTKey, TValue Interface

An interface for a cache.

Namespace:  Atalasoft.Imaging.Codec.Office.Caching
Assembly:  Atalasoft.dotImage.Office (in Atalasoft.dotImage.Office.dll) Version: (.NET 4.5.2, x86)
public interface ICache<TKey, TValue> : IDisposable

Type Parameters

The type to use as a key to access values in the cache.
The type to use as a value to store in the cache.

The ICacheTKey, TValue type exposes the following members.

Public methodAdd
Adds an entry to the cache.
Public methodContains
Gets a value indicating if this cache contains an entry for the given key.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetValue
Gets the value associated with the given key.
Public methodRemove
Removes an entry for a given key from this cache.
See Also