Open sandboxFocus

Constructor MemoryCachingBackend

MemoryCachingBackend()

Initializes a new instance of the MemoryCachingBackend class based on the Default instance of the MemoryCache class.

Declaration
public MemoryCachingBackend()

MemoryCachingBackend(MemoryCache)

Initializes a new instance of the MemoryCachingBackend class based on the given MemoryCache.

Declaration
public MemoryCachingBackend(MemoryCache cache)
Parameters
Type Name Description
MemoryCache cache

A MemoryCache, or null to use the Default instance of the MemoryCache class.