PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services.​Invalidation Class/Invalidation Methods/Invalidation.​Invalidate Method/Caching­Services.​Invalidation.​Invalidate Method (String)

CachingServices.Invalidation.Invalidate Method (String)

Invalidates a cache dependency given as String, i.e. removes all cache items that are dependent on this dependency key.

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 static void Invalidate(
	string dependencyKey
)

Parameters

dependencyKey
Type: System.String
See Also