PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services Class/Caching­Services Properties/Caching­Services.​Current­Context Property

CachingServices.CurrentContext Property

Gets the current caching context, so dependencies can be added.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public static ICachingContext CurrentContext { get; }

Property Value

Type: ICachingContext
See Also