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: 2023.0.3.0 (2023.0.3.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.