PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCaching­Backend­Enhancer­Features
Open sandboxFocus

CachingBackendEnhancerFeatures Class

An abstract implementation of CachingBackendEnhancerFeatures for use in implementations of CachingBackendEnhancer, where the default behavior is to return the features of the underlying CachingBackend.

Inheritance
CachingBackendEnhancerFeatures
Namespace: PostSharp.Patterns.Caching.Implementation
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public abstract class CachingBackendEnhancerFeatures : CachingBackendFeatures

Constructors

Name Description
CachingBackendEnhancerFeatures(CachingBackendFeatures)

Initializes a new CachingBackendEnhancerFeatures.

Properties

Name Description
Blocking

Determines whether methods that modify the cache content run to completion before the control is given back to the calling method. If false, methods may run in the background, and the calling thread may not have a consistent view of the cache.

Clear

Determines whether the Clear() method is supported.

ContainsDependency

Determines whether the ContainsDependency(String) method is supported.

Dependencies

Determines whether dependencies are supported.

Events

Determines whether the ItemRemoved and DependencyInvalidated events are raised.

UnderlyingBackendFeatures

Gets the feature of the underlying CachingBackend.