Interface ICache
Interface for a non-generic cache.
public interface ICache
Properties
CacheClearPeriod
How often should the cache be cleared of old items.
TimeSpan CacheClearPeriod { get; set; }
Property Value
ItemCount
The number of items in the cache.
int ItemCount { get; }
Property Value
MaximumItemLifespan
Maximum time to keep an item around after its last use.
TimeSpan MaximumItemLifespan { get; set; }
Property Value
Methods
Clear()
Clears the entire cache.
void Clear()