PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Dependencies
Open sandboxFocus

PostSharp.Patterns.Caching.Dependencies Namespace

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.