Interface IMemoryCacheEntryKeyBuilder
Used for setting Microsoft.Extensions.Caching.Memory.IMemoryCache key.
Namespace:MyTested.AspNetCore.Mvc.Builders.Contracts.Data
Assembly:MyTested.AspNetCore.Mvc.Caching.dll
Syntax
public interface IMemoryCacheEntryKeyBuilder
Methods
| Improve this Doc View SourceWithKey(Object)
Sets the key of the built Microsoft.Extensions.Caching.Memory.IMemoryCache entry.
Declaration
IAndMemoryCacheEntryBuilder WithKey(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Cache entry key to set. |
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndMemoryCacheEntryBuilder | The same IMemoryCacheEntryBuilder. |