C# Class CacheAspect.Repository.StaticMemoryCache

Static memory cache. Useful for caching on a single instance.
This class was adapted quite heavily from Matthew Groves' original StaticMemoryCache class. https://github.com/mgroves/PostSharp5/blob/master/4-Caching/StaticMemoryCache.cs
Inheritance: ICache
Show file Open project: BernieCook/CacheAspect

Public Methods

Method Description
Remove ( string keyPrefix ) : void
StaticMemoryCache ( ) : System
this ( string key ) : object

Method Details

Remove() public method

public Remove ( string keyPrefix ) : void
keyPrefix string
return void

StaticMemoryCache() public method

public StaticMemoryCache ( ) : System
return System

this() public method

public this ( string key ) : object
key string
return object