PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Not­Cache­Key­Attribute Class

NotCacheKeyAttribute Class

Custom attribute that, when applied to a parameter of a cached method (i.e. a method enhanced by the CacheAttribute aspect), excludes this parameter from being a part of the cache key.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Patterns.Caching.NotCacheKeyAttribute

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 sealed class NotCacheKeyAttribute : Attribute

The NotCacheKeyAttribute type exposes the following members.

Constructors
  NameDescription
Public methodNotCacheKeyAttribute
Initializes a new instance of the NotCacheKeyAttribute class
See Also