Click or drag to resize

DisposableValueCacheTKey, TValue Class

Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.Codec.Office.CachingDisposableValueCacheTKey, TValue
    Atalasoft.Imaging.Codec.Office.CachingLruDisposableValueCacheTKey, TValue

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 class DisposableValueCache<TKey, TValue> : ICache<TKey, TValue>, 
	IDisposable
where 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 DisposableValueCacheTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodDisposableValueCacheTKey, TValue
Initializes a new instance of the DisposableValueCacheTKey, TValue class
Top
Properties
  NameDescription
Protected propertyCount
Gets the number of entries in this cache.
Top
Methods
  NameDescription
Public methodAdd
Adds an entry to the cache.
Public methodClear
Clears all entries from this cache.
Public methodContains
Gets a value indicating if this cache contains an entry for the given key.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the DisposableValueCacheTKey, TValue is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Gets the value associated with the given key.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes an entry for a given key from this cache.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also