Table of Contents

CacheEntry Constructor

Definition

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

CacheEntry(string, object, string)

Initializes a new instance of the CacheEntry class.

public CacheEntry(string key, object value, string ns = null)

Parameters

key string

The unique identifier of the cache.

value object

The stored value of the cache.

ns string

The optional namespace that provides a scope to the cache.

Exceptions

ArgumentNullException

key cannot be null.