11 instantiations of CacheControlHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
32private static CacheControlHeaderValue s_requestCacheHeader = new CacheControlHeaderValue { NoCache = true, MaxAge = new TimeSpan(0) };
Microsoft.AspNetCore.OutputCaching.Tests (5)
OutputCacheTests.cs (5)
142new System.Net.Http.Headers.CacheControlHeaderValue { NoCache = true }; 568client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue() 592client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue() 637client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue() 660client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue()
Microsoft.AspNetCore.ResponseCaching.Tests (5)
ResponseCachingTests.cs (5)
152new System.Net.Http.Headers.CacheControlHeaderValue { NoCache = true }; 504client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue() 530client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue() 579client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue() 604client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.CacheControlHeaderValue()
7 references to CacheControlHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
32private static CacheControlHeaderValue s_requestCacheHeader = new CacheControlHeaderValue { NoCache = true, MaxAge = new TimeSpan(0) };
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
RazorPagesTest.cs (1)
1252var cacheControl = response.Headers.CacheControl;
netstandard (1)
netstandard.cs (1)
1099[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.CacheControlHeaderValue))]
System.Net.Http (4)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (4)
526public static System.Net.Http.Headers.CacheControlHeaderValue Parse(string? input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 529public static bool TryParse(string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.Http.Headers.CacheControlHeaderValue? parsedValue) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 685public System.Net.Http.Headers.CacheControlHeaderValue? CacheControl { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 718public System.Net.Http.Headers.CacheControlHeaderValue? CacheControl { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }