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

CachingBackend.ContainsDependencyCore Method

ContainsDependencyCore(String)

Determines whether the cache contains a given dependency. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked. Arguments are already validated by the consumer API.

Declaration
protected abstract bool ContainsDependencyCore(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.