2 implementations of IResponseCacheEntry
Microsoft.AspNetCore.ResponseCaching (2)
CacheEntry\CachedResponse.cs (1)
8internal sealed class CachedResponse : IResponseCacheEntry
CacheEntry\CachedVaryByRules.cs (1)
8internal sealed class CachedVaryByRules : IResponseCacheEntry
7 references to IResponseCacheEntry
Microsoft.AspNetCore.ResponseCaching (7)
Interfaces\IResponseCache.cs (2)
14IResponseCacheEntry? Get(string key); 22void Set(string key, IResponseCacheEntry entry, TimeSpan validFor);
MemoryResponseCache.cs (3)
17public IResponseCacheEntry? Get(string key) 33return entry as IResponseCacheEntry; 37public void Set(string key, IResponseCacheEntry entry, TimeSpan validFor)
ResponseCachingMiddleware.cs (2)
136internal async Task<bool> TryServeCachedResponseAsync(ResponseCachingContext context, IResponseCacheEntry? cacheEntry) 207var cacheEntry = _cache.Get(context.BaseKey);