PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Caching.​BackendsTwo­Layer­Caching­Backend­EnhancerTwo­Layer­Caching­Backend­Enhancer
Open sandboxFocus

TwoLayerCachingBackendEnhancer Constructor

TwoLayerCachingBackendEnhancer(CachingBackend, MemoryCachingBackend)

Initializes a new TwoLayerCachingBackendEnhancer.

Declaration
public TwoLayerCachingBackendEnhancer([Required] CachingBackend remoteCache, MemoryCachingBackend memoryCache = null)
Parameters
Type Name Description
CachingBackend remoteCache

The remote CachingBackend.

MemoryCachingBackend memoryCache

A MemoryCachingBackend, or null to use a new default MemoryCachingBackend.