21 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.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()
System.Net.Http (3)
System\Net\Http\Headers\CacheControlHeaderValue.cs (3)
332return (CacheControlHeaderValue)CacheControlHeaderParser.Parser.ParseValue(input, null, ref index) ?? new CacheControlHeaderValue(); 342parsedValue = (CacheControlHeaderValue?)output ?? new CacheControlHeaderValue(); 381CacheControlHeaderValue? result = storeValue ?? new CacheControlHeaderValue();
System.Net.Requests (7)
System\Net\HttpWebRequest.cs (7)
1299cacheControl = new CacheControlHeaderValue 1307cacheControl = new CacheControlHeaderValue 1316cacheControl = new CacheControlHeaderValue 1322cacheControl = new CacheControlHeaderValue(); 1342cacheControl = new CacheControlHeaderValue 1355cacheControl = new CacheControlHeaderValue 1363cacheControl = new CacheControlHeaderValue