PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching Namespace / ICaching­Context Interface / ICaching­Context Methods / ICaching­Context.​Add­Dependencies Method / ICaching­Context.​Add­Dependencies Method (IEnumerable(String))

ICachingContext.AddDependencies Method (IEnumerable<String>)

Adds a set of dependencies represented as keys to the current context.

Namespace:  PostSharp.Patterns.Caching
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
void AddDependencies(
	IEnumerable<string> dependencies
)

Parameters

dependencies
Type: System.Collections.Generic.IEnumerable<String>
A set of dependency keys.
See Also