PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching Namespace / ICaching­Context Interface / ICaching­Context Methods / ICaching­Context.​Add­Dependency Method

ICachingContext.AddDependency Method

Overload List
Public methodAddDependency(Object)
Adds a dependency Object the current context. Calling this method is equivalent to wrapping the Object into an ObjectDependency and calling the AddDependency(ICacheDependency) overload.
Public methodAddDependency(String)
Adds a dependency represented as a key to the current context.
Public methodAddDependency(ICacheDependency)
Adds a dependency represented as an ICacheDependency to the current context.
See Also