Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

Microsoft.Extensions.Caching.Abstractions

System Library

Author Microsoft
Version 10.0.1
Tags

Public Types

Microsoft.​Extensions.​Caching.​Distributed

Provides extension methods for <see cref="T:Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions" /> operations.
Provides the cache options for an entry in <see cref="T:Microsoft.Extensions.Caching.Distributed.IDistributedCache" /> .
Extension methods for setting data in an <see cref="T:Microsoft.Extensions.Caching.Distributed.IDistributedCache" /> .
Represents a distributed cache of serialized values, with support for low allocation data transfer.
interface IDistributedCache
Represents a distributed cache of serialized values.

Microsoft.​Extensions.​Caching.​Hybrid

class HybridCache
Provides multi-tier caching services building on <see cref="T:Microsoft.Extensions.Caching.Distributed.IDistributedCache" /> backends.
Additional flags that apply to a <see cref="T:Microsoft.Extensions.Caching.Hybrid.HybridCache" /> operation.
Specifies additional options (for example, expiration) that apply to a <see cref="T:Microsoft.Extensions.Caching.Hybrid.HybridCache" /> operation. When options can be specified at multiple levels (for example, globally and per-call), the values are composed; the most granular non-null value is used, with null values being inherited. If no value is specified at any level, the implementation can choose a reasonable default.
interface IHybridCacheSerializer<​T>
Provides per-type serialization and deserialization support for <see cref="T:Microsoft.Extensions.Caching.Hybrid.HybridCache" /> .
Factory provider for per-type <see cref="T:Microsoft.Extensions.Caching.Hybrid.IHybridCacheSerializer`1" /> instances.

Microsoft.​Extensions.​Caching.​Memory

Provides extensions methods for <see cref="T:Microsoft.Extensions.Caching.Memory.ICacheEntry" /> operations.
Provides extensions methods for <see cref="T:Microsoft.Extensions.Caching.Memory.IMemoryCache" /> operations.
Specifies how items are prioritized for preservation during a memory pressure triggered cleanup.
Specifies the reasons why an entry was evicted from the cache.
interface ICacheEntry
Represents an entry in the <see cref="T:Microsoft.Extensions.Caching.Memory.IMemoryCache" /> implementation. When Disposed, is committed to the cache.
interface IMemoryCache
Represents a local in-memory cache whose values are not serialized.
Provide extensions methods for <see cref="T:Microsoft.Extensions.Caching.Memory.MemoryCacheEntryOptions" /> operations.
Represents the cache options applied to an entry of the <see cref="T:Microsoft.Extensions.Caching.Memory.IMemoryCache" /> instance.
Holds a snapshot of statistics for a memory cache.
Represents a callback delegate that will be fired after an entry is evicted from the cache.
Represents the callback method that gets called when a cache entry expires.

Microsoft.​Extensions.​Internal

interface ISystemClock
Abstracts the system clock to facilitate testing.
class SystemClock
Provides access to the normal system clock.