PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/ICaching­Context Interface/ICaching­Context Methods/ICaching­Context.​Add­Dependency Method/ICaching­Context.​Add­Dependency Method (String)

ICachingContext.AddDependency Method (String)

Adds a dependency represented as a key to the current context.

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

Parameters

dependency
Type: System.String
A dependency key.
See Also