PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services.​Caching­Profile­Registry Class/Caching­Profile­Registry Properties/Caching­Services.​Caching­Profile­Registry.​Item Property

CachingServices.CachingProfileRegistry.Item Property

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

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public CachingProfile this[
	string profileName
] { get; }

Parameters

profileName
Type: System.String
The profile name (a case-insensitive string).

Return Value

Type: CachingProfile
A CachingProfile object with name profileName.
See Also