2 implementations of Set
Microsoft.AspNetCore.ResponseCaching (1)
MemoryResponseCache.cs (1)
37
public void
Set
(string key, IResponseCacheEntry entry, TimeSpan validFor)
Microsoft.AspNetCore.ResponseCaching.Tests (1)
TestUtils.cs (1)
386
public void
Set
(string key, IResponseCacheEntry entry, TimeSpan validFor)
2 references to Set
Microsoft.AspNetCore.ResponseCaching (2)
ResponseCachingMiddleware.cs (2)
331
_cache.
Set
(context.BaseKey, context.CachedVaryByRules, context.CachedResponseValidFor);
354
_cache.
Set
(context.StorageVaryKey ?? context.BaseKey, context.CachedResponse, context.CachedResponseValidFor);