PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services.​Invalidation Class/Invalidation Methods/Invalidation.​Invalidate Method/Caching­Services.​Invalidation.​Invalidate Method (ICache­Dependency)

CachingServices.Invalidation.Invalidate Method (ICacheDependency)

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

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 static void Invalidate(
	ICacheDependency dependency
)

Parameters

dependency
Type: PostSharp.Patterns.Caching.Dependencies.ICacheDependency
A dependency.
See Also