MemoryCachingBackend Constructor (MemoryCache) |
Initializes a new MemoryCachingBackend based on the given MemoryCache.
Namespace: PostSharp.Patterns.Caching.Backends
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.5.15.0 (6.5.15.0)
C#
public MemoryCachingBackend( MemoryCache cache )
Parameters
- cache
- Type: System.Runtime.Caching.MemoryCache
A MemoryCache, or null to use the Default instance of the MemoryCache class.