PostSharp//API Reference/Post­Sharp.​Patterns.​Caching/Caching­Services.​Caching­Profile­Registry/Item
Open sandboxFocus

Property Item

Item[String]

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

Declaration
public CachingProfile this[[Required] string profileName] { get; }
Parameters
Type Name Description
String profileName

The profile name (a case-insensitive string).

Property Value
Type Description
CachingProfile

A CachingProfile object with name profileName.