Open sandboxFocus

Namespace PostSharp.Patterns.Caching.Dependencies

Classes

ObjectDependency

Wraps an object into an ObjectDependency. The GetCacheKey() relies on the DefaultKeyBuilder to create the cache key of the wrapped object.

StringDependency

A cache dependency that is already represented as a string.

Interfaces

ICacheDependency

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.