PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services.​Caching­Profile­Registry Class

CachingServices.CachingProfileRegistry Class

Allows to configure caching profiles (CachingProfile), and therefore influence the behavior of the CacheAttribute aspect at run-time. Exposed on the Profiles property.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Caching.CachingServices.CachingProfileRegistry

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public sealed class CachingProfileRegistry

The CachingServices.CachingProfileRegistry type exposes the following members.

Properties
  NameDescription
Public propertyDefault
Gets the default CachingProfile.
Public propertyItem
Gets a CachingProfile of a given name. If no profile exists, a new profile is created, registered and returned.
Public propertyRevisionNumber
Gets the revision number of all caching profiles. This property is incremented every time a profile is registered or modified.
Methods
  NameDescription
Public methodRegister
Registers a CachingProfile.
Public methodReset
Resets the current CachingServices.CachingProfileRegistry to the default values.
See Also