PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Implementation Namespace / Caching­Backend Class / Caching­Backend Methods / Caching­Backend.​Contains­Dependency Method

CachingBackend.ContainsDependency Method

Determines whether the cache contains a given dependency.

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public bool ContainsDependency(
	string key
)

Parameters

key
Type: System.String
The dependency key.

Return Value

Type: Boolean
true if the cache contains the dependency key, otherwise false.
See Also