Class MemoryCachingBackend
A CachingBackend based on System.Runtime.Caching.MemoryCache
(MemoryCache). This cache is part of .NET Framework
and is available for .NET Standard in the NuGet package System.Runtime.Caching.
Implements
Namespace: PostSharp.Patterns.Caching.Backends
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public sealed class MemoryCachingBackend : CachingBackend
Constructors
Name | Description |
---|---|
MemoryCachingBackend() | Initializes a new MemoryCachingBackend based on the Default instance of the MemoryCache class. |
MemoryCachingBackend(MemoryCache) | Initializes a new MemoryCachingBackend based on the given MemoryCache. |