CachingBackendFactory.Memory Method
Memory(CachingBackendBuilder, MemoryCachingBackendConfiguration?)
Creates an in-memory caching backend based on a MemoryCache.
Declaration
public static MemoryCachingBackendBuilder Memory(this CachingBackendBuilder builder, MemoryCachingBackendConfiguration? configuration = null)
Parameters
Type | Name | Description |
---|---|---|
CachingBackendBuilder | builder | |
MemoryCachingBackendConfiguration | configuration |
Returns
Type | Description |
---|---|
MemoryCachingBackendBuilder |