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
string key

The dependency key.

Returns
Type Description
bool

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