PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​BackendsNull­Caching­BackendContains­Item­Core
Open sandboxFocus

NullCachingBackend.ContainsItemCore Method

ContainsItemCore(String)

Determines whether the cache contains an item of a given key. 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 override bool ContainsItemCore(string key)
Parameters
Type Name Description
System.String key

The key of the cache item.

Returns
Type Description
Boolean

true if the cache contains an item whose key is key, otherwise false.

Overrides
CachingBackend.ContainsItemCore(String)