Open sandboxFocus

Method WithMemoryCache

WithMemoryCache(IMemoryCache)

Specifies the IMemoryCache to use. The caller owns it: the backend does not dispose it, and it clears only its own items.

Declaration
public MemoryCachingBackendBuilder WithMemoryCache(IMemoryCache memoryCache)
Parameters
Type Name Description
IMemoryCache memoryCache
Returns
Type Description
MemoryCachingBackendBuilder