PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services Class

CachingServices Class

The entry point to configure PostSharp.Patterns.Caching at run-time.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Caching.CachingServices

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public static class CachingServices

The CachingServices type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrentContext
Gets the current caching context, so dependencies can be added.
Public propertyStatic memberDefaultBackend
Gets or sets the default CachingBackend, i.e. the physical storage of cache items.
Public propertyStatic memberDefaultKeyBuilder
Gets or sets the CacheKeyBuilder used to generate caching keys, i.e. to serialize objects into a String.
Public propertyStatic memberProfiles
Gets the repository of caching profiles (CachingProfile).
Methods
  NameDescription
Public methodStatic memberSuspendDependencyPropagation
Temporarily suspends propagation of dependencies from subsequently called methods to the caller method.
See Also