Class SimpleCache<T>
An implementation of IObjectCache<TKey, TValue> using objects as their own key.
Implements
IObjectCache<T, T>
    ICollection<T>
    IEnumerable<T>
    IDictionary<T, T>
    ICollection<KeyValuePair<T, T>>
    IEnumerable<KeyValuePair<T, T>>
    
  Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Cache
Assembly: GameStateTracker.Core.dll
Syntax
public class SimpleCache<T> : ObjectCacheBase<T, T>, IObjectCache<T, T>, ICollection<T>, IEnumerable<T>, IDictionary<T, T>, ICollection<KeyValuePair<T, T>>, IEnumerable<KeyValuePair<T, T>>, IEnumerable where T : class, IEquatable<T>Type Parameters
| Name | Description | 
|---|---|
| T | The object type. | 
Methods
View SourceGetKey(T)
Gets the info describing an object.
Declaration
protected override T GetKey(T input)Parameters
| Type | Name | Description | 
|---|---|---|
| T | input | The object. | 
Returns
| Type | Description | 
|---|---|
| T | The object info. |