Table of Contents

Class Cache

Namespace
Shift.Common
Assembly
Shift.Common.dll

The non-generic Cache class instanciates a Cache{object} that can be used with any type of (mixed) content. It also publishes a static .Global member, so a cache can be used without creating a dedicated instance. The .Global member is lazy-instantiated.

public class Cache : MemoryCache<string, object>, IDisposable, IMemoryCache<string, object>
Inheritance
Cache
Implements
Inherited Members
Extension Methods

Constructors

Cache()

public Cache()

Properties

Global

Gets the global shared cache instance valid for the entire process.

public static Cache Global { get; }

Property Value

Cache