22 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()
System.Net.Http (4)
System\Net\Http\Headers\CacheControlHeaderValue.cs (4)
332return (CacheControlHeaderValue)CacheControlHeaderParser.Parser.ParseValue(input, null, ref index) ?? new CacheControlHeaderValue(); 342parsedValue = (CacheControlHeaderValue?)output ?? new CacheControlHeaderValue(); 381CacheControlHeaderValue? result = storeValue ?? new CacheControlHeaderValue(); 592return new CacheControlHeaderValue(this);
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
22 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 (18)
System\Net\Http\Headers\CacheControlHeaderParser.cs (4)
26CacheControlHeaderValue? temp = null; 35temp = item as CacheControlHeaderValue; 45temp = storeValue as CacheControlHeaderValue; 50int resultLength = CacheControlHeaderValue.GetCacheControlLength(value, startIndex, temp, out temp);
System\Net\Http\Headers\CacheControlHeaderValue.cs (10)
169private CacheControlHeaderValue(CacheControlHeaderValue source) 308obj is CacheControlHeaderValue other && 329public static CacheControlHeaderValue Parse(string? input) 332return (CacheControlHeaderValue)CacheControlHeaderParser.Parser.ParseValue(input, null, ref index) ?? new CacheControlHeaderValue(); 335public static bool TryParse(string? input, [NotNullWhen(true)] out CacheControlHeaderValue? parsedValue) 342parsedValue = (CacheControlHeaderValue?)output ?? new CacheControlHeaderValue(); 348internal static int GetCacheControlLength(string? input, int startIndex, CacheControlHeaderValue? storeValue, 349out CacheControlHeaderValue? parsedValue) 381CacheControlHeaderValue? result = storeValue ?? new CacheControlHeaderValue(); 400private static bool TrySetCacheControlValues(CacheControlHeaderValue cc, List<NameValueHeaderValue> nameValueList)
System\Net\Http\Headers\HttpGeneralHeaders.cs (2)
23public CacheControlHeaderValue? CacheControl 25get { return (CacheControlHeaderValue?)_parent.GetSingleParsedValue(KnownHeaders.CacheControl.Descriptor); }
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
207public CacheControlHeaderValue? CacheControl
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
75public CacheControlHeaderValue? CacheControl
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1291CacheControlHeaderValue? cacheControl = null;