CC56645: Update memory.md (#6552)

pull/6555/head
Caro Caserio 2018-05-23 12:26:28 -03:00 committed by Luke Latham
parent b9343fbc53
commit ef2bee10eb
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ The following code uses [GetOrCreate](/dotnet/api/microsoft.extensions.caching.m
[!code-csharp[](memory/sample/WebCache/Controllers/HomeController.cs?name=snippet2&highlight=3-7,14-19)] [!code-csharp[](memory/sample/WebCache/Controllers/HomeController.cs?name=snippet2&highlight=3-7,14-19)]
The following code calls [Get](/dotnet/api/microsoft.extensions.caching.memory.cacheextensions#Microsoft_Extensions_Caching_Memory_CacheExtensions_Get__1_Microsoft_Extensions_Caching_Memory_IMemoryCache_System_Object_) to fetch the cached time: The following code calls [Get](/dotnet/api/microsoft.extensions.caching.memory.cacheextensions.get#Microsoft_Extensions_Caching_Memory_CacheExtensions_Get__1_Microsoft_Extensions_Caching_Memory_IMemoryCache_System_Object_) to fetch the cached time:
[!code-csharp[](memory/sample/WebCache/Controllers/HomeController.cs?name=snippet_gct)] [!code-csharp[](memory/sample/WebCache/Controllers/HomeController.cs?name=snippet_gct)]