21 references to HttpRequestCacheLevel
netstandard (1)
netstandard.cs (1)
1069
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Cache.
HttpRequestCacheLevel
))]
PresentationCore (3)
MS\Internal\WpfWebRequestHelper.cs (1)
134
_httpRequestCachePolicyRefresh = new HttpRequestCachePolicy(
HttpRequestCacheLevel
.Refresh);
System\Windows\Media\RequestCachePolicyConverter.cs (2)
88
HttpRequestCacheLevel
level = Enum.Parse<
HttpRequestCacheLevel
>(s, true);
System (1)
src\libraries\shims\System\ref\System.cs (1)
596
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Cache.
HttpRequestCacheLevel
))]
System.Net.Requests (16)
System\Net\Cache\HttpRequestCachePolicy.cs (10)
15
public HttpRequestCachePolicy() : this(
HttpRequestCacheLevel
.Default)
19
public HttpRequestCachePolicy(
HttpRequestCacheLevel
level) : base(MapLevel(level))
24
public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan ageOrFreshOrStale) : this(
HttpRequestCacheLevel
.Default)
42
public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale) : this(
HttpRequestCacheLevel
.Default)
69
this(
HttpRequestCacheLevel
.Default)
80
public new
HttpRequestCacheLevel
Level { get; }
102
private static RequestCacheLevel MapLevel(
HttpRequestCacheLevel
level)
104
if (level <=
HttpRequestCacheLevel
.NoCacheNoStore)
109
if (level ==
HttpRequestCacheLevel
.CacheOrNextCacheOnly)
114
if (level ==
HttpRequestCacheLevel
.Refresh)
System\Net\HttpWebRequest.cs (6)
1298
case
HttpRequestCacheLevel
.NoCacheNoStore:
1306
case
HttpRequestCacheLevel
.Reload:
1313
case
HttpRequestCacheLevel
.CacheOnly:
1315
case
HttpRequestCacheLevel
.CacheOrNextCacheOnly:
1321
case
HttpRequestCacheLevel
.Default:
1341
case
HttpRequestCacheLevel
.Refresh: