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)
88HttpRequestCacheLevel 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)
15public HttpRequestCachePolicy() : this(HttpRequestCacheLevel.Default) 19public HttpRequestCachePolicy(HttpRequestCacheLevel level) : base(MapLevel(level)) 24public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan ageOrFreshOrStale) : this(HttpRequestCacheLevel.Default) 42public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale) : this(HttpRequestCacheLevel.Default) 69this(HttpRequestCacheLevel.Default) 80public new HttpRequestCacheLevel Level { get; } 102private static RequestCacheLevel MapLevel(HttpRequestCacheLevel level) 104if (level <= HttpRequestCacheLevel.NoCacheNoStore) 109if (level == HttpRequestCacheLevel.CacheOrNextCacheOnly) 114if (level == HttpRequestCacheLevel.Refresh)
System\Net\HttpWebRequest.cs (6)
1298case HttpRequestCacheLevel.NoCacheNoStore: 1306case HttpRequestCacheLevel.Reload: 1313case HttpRequestCacheLevel.CacheOnly: 1315case HttpRequestCacheLevel.CacheOrNextCacheOnly: 1321case HttpRequestCacheLevel.Default: 1341case HttpRequestCacheLevel.Refresh: