PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends Namespace / Memory­Cache­Backend Class / Memory­Cache­Backend Constructor / Memory­Cache­Backend Constructor (IMemory­Cache)

MemoryCacheBackend Constructor (IMemoryCache)

Initializes a new MemoryCacheBackend based on the given IMemoryCache.

Namespace:  PostSharp.Patterns.Caching.Backends
Assembly:  PostSharp.Patterns.Caching.Backends.IMemoryCache (in PostSharp.Patterns.Caching.Backends.IMemoryCache.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public MemoryCacheBackend(
	IMemoryCache cache
)

Parameters

cache
Type: IMemoryCache
An IMemoryCache.
See Also