eDriven Framework API
Cache<(Of <(<'TKey, TValue>)>)> Class
Namespaces ► eDriven.Core.Caching ► Cache<(Of <(<'TKey, TValue>)>)>
eDriven Framework API
The class that caches objects as key/value pairs
Declaration Syntax

C# | Visual Basic | Visual C++

    public class Cache<TKey, TValue>
    where TValue : new()

    Public Class Cache(Of TKey, TValue As New)

    generic<typename TKey, typename TValue>
    where TValue : gcnew()
    public ref class Cache

Generic Template Parameters

TKey
TValue

Members

All Members | Constructors | Methods | Properties
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| Cache<(Of <(<'TKey, TValue>)>)>()()()() | Constructor
| Clear()()()() | Clears the cache
| Count | Returns the number of cached items
| Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| Get(TKey) | Gets the cached value
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.)
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.)
| Put(TKey, TValue) | Caches the value
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.)

Inheritance Hierarchy

Object
| Cache<(Of <(<'TKey, TValue>)>)>
|  | MemberCache

Assembly: eDriven.Core (Module: eDriven.Core) Version: 2.0.1.0 (2.0.1.0)