PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/ICaching­Context Interface/ICaching­Context Methods

ICachingContext Methods

Methods
  NameDescription
Public methodAddDependencies(IEnumerable<String>)
Adds a set of dependencies represented as keys to the current context.
Public methodAddDependencies(IEnumerable<ICacheDependency>)
Adds a set of dependencies represented as ICacheDependency to the current context.
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