PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Caching Namespace/ICaching­Context Interface/ICaching­Context Methods/ICaching­Context.​Add­Dependency Method/ICaching­Context.​Add­Dependency Method (ICache­Dependency)

ICachingContext.AddDependency Method (ICacheDependency)

Adds a dependency represented as an ICacheDependency to the current context.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.1.15.0 (6.1.15.0)
Syntax
C#
void AddDependency(
	ICacheDependency dependency
)

Parameters

dependency
Type: PostSharp.Patterns.Caching.Dependencies.ICacheDependency
A dependency.
See Also