1 implementation of IOutputCacheFeature
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheFeature.cs (1)
6internal sealed class OutputCacheFeature : IOutputCacheFeature
7 references to IOutputCacheFeature
Microsoft.AspNetCore.Mvc.Core (2)
Filters\OutputCacheFilter.cs (2)
39var outputCachingFeature = context.HttpContext.Features.Get<IOutputCacheFeature>();
Microsoft.AspNetCore.OutputCaching (3)
OutputCacheMiddleware.cs (3)
484if (context.HttpContext.Features.Get<IOutputCacheFeature>() != null) 489context.HttpContext.Features.Set<IOutputCacheFeature>(new OutputCacheFeature(context)); 505context.Features.Set<IOutputCacheFeature?>(null);
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCacheMiddlewareTests.cs (1)
523context.HttpContext.Features.Set<IOutputCacheFeature>(new OutputCacheFeature(context));
OutputCachingSample (1)
Startup.cs (1)
68var cacheContext = context.Features.Get<IOutputCacheFeature>()?.Context;