11 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
()
7 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 (4)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (4)
526
public static System.Net.Http.Headers.
CacheControlHeaderValue
Parse(string? input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
529
public 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); }
685
public System.Net.Http.Headers.
CacheControlHeaderValue
? CacheControl { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
718
public System.Net.Http.Headers.
CacheControlHeaderValue
? CacheControl { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }