12 writes to SharedMaxAge
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCacheMiddlewareTests.cs (1)
485SharedMaxAge = TimeSpan.FromSeconds(13)
OutputCachePolicyProviderTests.cs (1)
383SharedMaxAge = TimeSpan.FromSeconds(15)
Microsoft.AspNetCore.ResponseCaching.Tests (6)
ResponseCachingMiddlewareTests.cs (1)
507SharedMaxAge = TimeSpan.FromSeconds(13)
ResponseCachingPolicyProviderTests.cs (5)
454SharedMaxAge = TimeSpan.FromSeconds(15) 474SharedMaxAge = TimeSpan.FromSeconds(5) 593SharedMaxAge = TimeSpan.FromSeconds(15) 614SharedMaxAge = TimeSpan.FromSeconds(5) 637SharedMaxAge = TimeSpan.FromSeconds(5)
Microsoft.Net.Http.Headers.Tests (4)
CacheControlHeaderValueTest.cs (4)
37cacheControl.SharedMaxAge = timeSpan; 185values[3].SharedMaxAge = new TimeSpan(0, 1, 1); 299values[3].SharedMaxAge = new TimeSpan(0, 1, 1); 413expected.SharedMaxAge = new TimeSpan(0, 0, 1234567890);
3 references to SharedMaxAge
Microsoft.AspNetCore.Server.HttpSys (2)
RequestProcessing\RequestContext.FeatureCollection.cs (2)
690if (cacheControl.SharedMaxAge.HasValue) 692return cacheControl.SharedMaxAge;
Microsoft.Net.Http.Headers.Tests (1)
CacheControlHeaderValueTest.cs (1)
38Assert.Equal(timeSpan, cacheControl.SharedMaxAge);