PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends Namespace / Two­Layer­Caching­Backend­Enhancer Class / Two­Layer­Caching­Backend­Enhancer Constructor

TwoLayerCachingBackendEnhancer Constructor

Initializes a new TwoLayerCachingBackendEnhancer.

Namespace:  PostSharp.Patterns.Caching.Backends
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public TwoLayerCachingBackendEnhancer(
	CachingBackend remoteCache,
	MemoryCachingBackend memoryCache = null
)

Parameters

remoteCache
Type: PostSharp.Patterns.Caching.Implementation.CachingBackend
The remote CachingBackend.
memoryCache (Optional)
Type: PostSharp.Patterns.Caching.Backends.MemoryCachingBackend
A MemoryCachingBackend, or null to use a new default MemoryCachingBackend.
See Also