Table of Contents

this Property

Definition

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

this[string, string]

Gets or sets a value in the cache by using the default indexer property for an instance of the SlimMemoryCache class.

public object this[string key, string ns = null] { get; set; }

Parameters

key string

The unique identifier for the cache value to get or set.

ns string

The optional namespace that provides a scope to the cache.

Property Value

object

The value in the cache for the specified key, if the entry exists; otherwise, null.