Table of Contents

Contains Method

Definition

Namespace
Cuemon.Runtime.Caching
Assemblies
Cuemon.Runtime.Caching.dll
Source
src/Cuemon.Runtime.Caching/ICacheEnumerable.cs

Contains(string, string)

Determines whether a cache entry exists in the cache.

bool Contains(string key, string ns = null)

Parameters

key string

The unique identifier for the cache entry.

ns string

The optional namespace that provides a scope to the cache.

Returns

bool

true if the cache contains a cache entry whose key matches key; otherwise, false.