AspNetCacheProvider.Exists Method

Namespace:
Weavy.Core.Providers
Assembly:
Weavy.Core.dll

Exists(CacheRegion, string)

Checks if the specified item exists in the cache.

public bool Exists(CacheRegion region, string key)

Parameters

region
CacheRegion

The cache region from which to get the cache item.

key
string

The identifier for the cache item to retrieve.

Returns

bool

true if the item exists in the cache, otherwise false.