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: 6.10.10.0 (6.10.10.0)
C#
public InvalidateCacheAttribute( params string[] methodNames )
Parameters
- 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.