Interface IMemoryCacheEntryKeyTestBuilder
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 IMemoryCacheEntryKeyTestBuilder
Methods
| Improve this Doc View SourceWithKey(Object)
Sets the key of the built Microsoft.Extensions.Caching.Memory.IMemoryCache entry.
Declaration
IAndMemoryCacheEntryTestBuilder WithKey(object key)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Cache entry key to set. |
Returns
Type | Description |
---|---|
MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndMemoryCacheEntryTestBuilder | The same MyTested.AspNetCore.Mvc.Builders.Contracts.Data.IAndMemoryCacheEntryTestBuilder. |