Table of Contents

Namespace Cuemon.Runtime.Caching

Assembly: Cuemon.Runtime.Caching.dll

The Cuemon.Runtime.Caching namespace contains types related to interfaces for generic caching in applications while providing a concrete in-memory cache implementation named SlimMemoryCache. The namespace is an addition to the System.Runtime.Caching namespace.

Availability: .NET 8, .NET 7, .NET 6 and .NET Standard 2.0

Complements: System.Runtime.Caching namespace 🔗

Related: Cuemon.Extensions.Runtime.Caching namespace 📘

Classes

CacheEntry

Represents an individual cache entry in the cache.

CacheEntryEventArgs

Provides data for cache related operations. This class cannot be inherited.

CacheInvalidation

Represents a set of eviction and expiration details for a specific cache entry.

CachingManager

Provides access to caching in an application.

SlimMemoryCache

Represents the type that implements an in-memory cache for an application.

SlimMemoryCacheOptions

Configuration options for SlimMemoryCache.

Interfaces

ICacheEnumerable<TKey>

An interface that is used to provide cache implementations for an application.