PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Implementation Namespace / Caching­Backend­Enhancer­Features Class

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 Hierarchy

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: (
public abstract class CachingBackendEnhancerFeatures : CachingBackendFeatures

The CachingBackendEnhancerFeatures type exposes the following members.

Protected methodCachingBackendEnhancerFeatures
Initializes a new CachingBackendEnhancerFeatures.
Public propertyBlocking
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.
(Overrides CachingBackendFeatures.Blocking.)
Public propertyClear
Determines whether the Clear() method is supported.
(Overrides CachingBackendFeatures.Clear.)
Public propertyContainsDependency
Determines whether the ContainsDependency(String) method is supported.
(Overrides CachingBackendFeatures.ContainsDependency.)
Public propertyDependencies
Determines whether dependencies are supported.
(Overrides CachingBackendFeatures.Dependencies.)
Public propertyEvents
Determines whether the ItemRemoved and DependencyInvalidated events are raised.
(Overrides CachingBackendFeatures.Events.)
Protected propertyUnderlyingBackendFeatures
Gets the feature of the underlying CachingBackend.
Extension Methods
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also