CachingServices Class |
Namespace: PostSharp.Patterns.Caching
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static class CachingServices
The CachingServices type exposes the following members.
Name | Description | |
---|---|---|
CurrentContext |
Gets the current caching context, so dependencies can be added.
| |
DefaultBackend |
Gets or sets the default CachingBackend, i.e. the physical storage of cache items.
| |
DefaultKeyBuilder |
Gets or sets the CacheKeyBuilder used to generate caching keys, i.e. to serialize objects into a String.
| |
Profiles |
Gets the repository of caching profiles (CachingProfile).
|
Name | Description | |
---|---|---|
SuspendDependencyPropagation |
Temporarily suspends propagation of dependencies from subsequently called methods to the caller method.
|