PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Caching.​Dependencies Namespace/ICache­Dependency Interface

ICacheDependency Interface

Interface that must be implemented by classes that need to be used as cache dependencies, for use with the AddDependency(ICacheDependency) method. Alternatively, custom classes may implement the IFormattable interface or simply the ToString() method.

Namespace:  PostSharp.Patterns.Caching.Dependencies
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.2.8.0 (6.2.8.0)
Syntax
C#
public interface ICacheDependency

The ICacheDependency type exposes the following members.

Methods
  NameDescription
Public methodGetCacheKey
Gets a string that uniquely represents the current object.
See Also