PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching Namespace / Caching­Services Class / Caching­Services Properties

CachingServices Properties

The CachingServices type exposes the following members.

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).
See Also