PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Caching Namespace/Invalidate­Cache­Attribute Class/Invalidate­Cache­Attribute Constructor/Invalidate­Cache­Attribute Constructor (String[])

InvalidateCacheAttribute Constructor (String[])

Initializes a new InvalidateCacheAttribute that invalidates method of the same type as the type to which the current InvalidateCacheAttribute aspect is being applied.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: (
public InvalidateCacheAttribute(
	params string[] methodNames


Type: System.String[]
A list of names of methods to invalidate. All parameters of these methods (except those marked with NotCacheKeyAttribute) must have a parameter of the same name and compatible type in the target method of the current InvalidateCacheAttribute aspect.
See Also