WithMemoryCacheOptions(MemoryCacheOptions)
Specifies the options for the MemoryCache used as the L1 layer. This method is ignored if WithMemoryCache(IMemoryCache) is called.
Declaration
public LayeredCachingBackendBuilder WithMemoryCacheOptions(MemoryCacheOptions memoryCacheOptions)Parameters
| Type | Name | Description |
|---|---|---|
| MemoryCacheOptions | memoryCacheOptions | The memory cache options. |
Returns
| Type | Description |
|---|---|
| LayeredCachingBackendBuilder | This builder for method chaining. |