CC56645: Update memory.md (#6552)
parent
b9343fbc53
commit
ef2bee10eb
|
@ -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)]
|
||||
|
||||
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)]
|
||||
|
||||
|
|
Loading…
Reference in New Issue