CachingServices Class |
The entry point to configure PostSharp.Patterns.Caching at run-time.

Namespace: PostSharp.Patterns.Caching
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.2.13.0 (6.2.13.0)

C#
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.
|
