22 instantiations of CacheControlHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
32
private static CacheControlHeaderValue s_requestCacheHeader = new
CacheControlHeaderValue
{ NoCache = true, MaxAge = new TimeSpan(0) };
Microsoft.AspNetCore.OutputCaching.Tests (5)
OutputCacheTests.cs (5)
142
new System.Net.Http.Headers.
CacheControlHeaderValue
{ NoCache = true };
568
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
592
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
637
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
660
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
Microsoft.AspNetCore.ResponseCaching.Tests (5)
ResponseCachingTests.cs (5)
152
new System.Net.Http.Headers.
CacheControlHeaderValue
{ NoCache = true };
504
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
530
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
579
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
604
client.DefaultRequestHeaders.CacheControl = new System.Net.Http.Headers.
CacheControlHeaderValue
()
System.Net.Http (4)
System\Net\Http\Headers\CacheControlHeaderValue.cs (4)
332
return (CacheControlHeaderValue)CacheControlHeaderParser.Parser.ParseValue(input, null, ref index) ?? new
CacheControlHeaderValue
();
342
parsedValue = (CacheControlHeaderValue?)output ?? new
CacheControlHeaderValue
();
381
CacheControlHeaderValue? result = storeValue ?? new
CacheControlHeaderValue
();
592
return new
CacheControlHeaderValue
(this);
System.Net.Requests (7)
System\Net\HttpWebRequest.cs (7)
1299
cacheControl = new
CacheControlHeaderValue
1307
cacheControl = new
CacheControlHeaderValue
1316
cacheControl = new
CacheControlHeaderValue
1322
cacheControl = new
CacheControlHeaderValue
();
1342
cacheControl = new
CacheControlHeaderValue
1355
cacheControl = new
CacheControlHeaderValue
1363
cacheControl = new
CacheControlHeaderValue
22 references to CacheControlHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
32
private static
CacheControlHeaderValue
s_requestCacheHeader = new CacheControlHeaderValue { NoCache = true, MaxAge = new TimeSpan(0) };
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
RazorPagesTest.cs (1)
1252
var
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)
26
CacheControlHeaderValue
? temp = null;
35
temp = item as
CacheControlHeaderValue
;
45
temp = storeValue as
CacheControlHeaderValue
;
50
int resultLength =
CacheControlHeaderValue
.GetCacheControlLength(value, startIndex, temp, out temp);
System\Net\Http\Headers\CacheControlHeaderValue.cs (10)
169
private CacheControlHeaderValue(
CacheControlHeaderValue
source)
308
obj is
CacheControlHeaderValue
other &&
329
public static
CacheControlHeaderValue
Parse(string? input)
332
return (
CacheControlHeaderValue
)CacheControlHeaderParser.Parser.ParseValue(input, null, ref index) ?? new CacheControlHeaderValue();
335
public static bool TryParse(string? input, [NotNullWhen(true)] out
CacheControlHeaderValue
? parsedValue)
342
parsedValue = (
CacheControlHeaderValue
?)output ?? new CacheControlHeaderValue();
348
internal static int GetCacheControlLength(string? input, int startIndex,
CacheControlHeaderValue
? storeValue,
349
out
CacheControlHeaderValue
? parsedValue)
381
CacheControlHeaderValue
? result = storeValue ?? new CacheControlHeaderValue();
400
private static bool TrySetCacheControlValues(
CacheControlHeaderValue
cc, List<NameValueHeaderValue> nameValueList)
System\Net\Http\Headers\HttpGeneralHeaders.cs (2)
23
public
CacheControlHeaderValue
? CacheControl
25
get { return (
CacheControlHeaderValue
?)_parent.GetSingleParsedValue(KnownHeaders.CacheControl.Descriptor); }
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
207
public
CacheControlHeaderValue
? CacheControl
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
75
public
CacheControlHeaderValue
? CacheControl
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1291
CacheControlHeaderValue
? cacheControl = null;