Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Dependencies Namespace

PostSharp.Patterns.Caching.Dependencies Namespace

 
Classes
  ClassDescription
Public classObjectDependency
Wraps an Object into an ObjectDependency. The GetCacheKey() relies on the DefaultKeyBuilder to create the cache key of the wrapped object.
Public classStringDependency
A cache dependency that is already represented as a string.
Interfaces
  InterfaceDescription
Public interfaceICacheDependency
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.