MemoryCache

MemoryCache class

Memory caching behaviour. Means that cache is stored in the memory

public sealed class MemoryCache : ICache

Constructors

Name Description
MemoryCache() Creates new instance of MemoryCache class

Methods

Name Description
GetKeys(string) Returns all keys matching filter.
Set(string, object) Inserts a cache entry into the cache.
TryGetValue(string, out object) Gets the entry associated with this key if present.

Remarks

Learn more

See Also