Open sandboxFocus

Class CachingServices.CachingProfileRegistry

Allows to configure caching profiles (CachingProfile), and therefore influence the behavior of the CacheAttribute aspect at run-time. Exposed on the Profiles property.

Inheritance
CachingServices.CachingProfileRegistry
Namespace: PostSharp.Patterns.Caching
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public sealed class CachingServices.CachingProfileRegistry

Properties

Name Description
Default

Gets the default CachingProfile.

this[string]

Gets a CachingProfile of a given name. If no profile exists, a new profile is created, registered and returned.

RevisionNumber

Gets the revision number of all caching profiles. This property is incremented every time a profile is registered or modified.

Methods

Name Description
Register(CachingProfile)

Registers a CachingProfile.

Reset()

Resets the current CachingServices.CachingProfileRegistry to the default values.