Open sandboxFocus

Class CachingServices.CachingProfileRegistry

Allows the configuration of caching profiles (CachingProfile), and therefore influences the behavior of the CacheAttribute aspect at run time. This class is exposed by 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.