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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public interface ICache<TKey, TValue> : IDisposable

Type Parameters

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

The ICacheTKey, TValue type exposes the following members.

Methods
  NameDescription
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.
Top
See Also