PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCaching­BackendContains­Dependency
Open sandboxFocus

CachingBackend.ContainsDependency Method

ContainsDependency(String)

Determines whether the cache contains a given dependency.

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

The dependency key.

Returns
Type Description
Boolean

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