MY TESTED ASP.NET CORE MVC DOCS
Show / Hide Table of Contents

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 Source

WithKey(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.

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 MyTestedASP.NET. All Rights Reserved. Generated by DocFX