MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​BackendsCaching­BackendContains­Dependency
Open sandboxFocus

CachingBackend.ContainsDependency Method

ContainsDependency(String)

Determines whether the cache contains a given dependency.

Declaration
public bool ContainsDependency(string key)
Parameters
Type Name Description
System.String key

The dependency key.

Returns
Type Description
System.Boolean

true if the cache contains the dependency key, otherwise false.