59 references to RequestCacheLevel
PresentationCore (10)
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
139
if (request.CachePolicy == null || request.CachePolicy.Level !=
RequestCacheLevel
.Default)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (9)
142
RequestCacheLevel
policy = _cachePolicy.Level;
143
if (policy ==
RequestCacheLevel
.Default)
148
case
RequestCacheLevel
.BypassCache:
154
case
RequestCacheLevel
.CacheOnly:
161
case
RequestCacheLevel
.CacheIfAvailable:
230
case
RequestCacheLevel
.BypassCache: break;
231
case
RequestCacheLevel
.CacheOnly: break;
232
case
RequestCacheLevel
.CacheIfAvailable: break;
613
static private RequestCachePolicy _defaultCachePolicy = new RequestCachePolicy(
RequestCacheLevel
.CacheIfAvailable);
System (46)
net\System\Net\Cache\_RequestCacheProtocol.cs (1)
98
if (request.CachePolicy == null || request.CachePolicy.Level ==
RequestCacheLevel
.BypassCache)
net\System\Net\Cache\FtpRequestCacheValidator.cs (14)
76
if (Policy.Level ==
RequestCacheLevel
.BypassCache)
92
if ((RequestMethod != HttpMethod.Get || !((FtpWebRequest)Request).UseBinary) && Policy.Level ==
RequestCacheLevel
.CacheOnly)
107
if (Policy.Level >=
RequestCacheLevel
.Reload)
190
if (Policy.Level >=
RequestCacheLevel
.Reload)
201
if (Policy.Level ==
RequestCacheLevel
.CacheOnly)
219
if (Policy.Level ==
RequestCacheLevel
.Revalidate || CacheEntry.IsPartialEntry)
226
if (CacheFreshnessStatus == CacheFreshnessStatus.Fresh || Policy.Level ==
RequestCacheLevel
.CacheOnly || Policy.Level ==
RequestCacheLevel
.CacheIfAvailable)
232
if (Policy.Level ==
RequestCacheLevel
.CacheOnly)
255
if (Policy.Level >=
RequestCacheLevel
.Reload)
337
if (Policy.Level !=
RequestCacheLevel
.Default && Policy.Level !=
RequestCacheLevel
.Revalidate)
388
if (Policy.Level ==
RequestCacheLevel
.CacheOnly) {
419
if (Policy.Level ==
RequestCacheLevel
.NoCacheNoStore) {
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
248
if (this.Policy.Level != HttpRequestCacheLevel.Revalidate && base.Policy.Level >=
RequestCacheLevel
.Reload)
302
if (base.Policy.Level ==
RequestCacheLevel
.CacheOnly) {
324
if (this.Policy.Level != HttpRequestCacheLevel.Revalidate && base.Policy.Level >=
RequestCacheLevel
.Reload)
net\System\Net\Cache\RequestCacheManager.cs (1)
34
private static readonly RequestCacheBinding s_BypassCacheBinding = new RequestCacheBinding (null, null, new RequestCachePolicy(
RequestCacheLevel
.BypassCache));
net\System\Net\Cache\RequestCachePolicy.cs (10)
51
private
RequestCacheLevel
m_Level;
56
public RequestCachePolicy(): this (
RequestCacheLevel
.Default)
60
public RequestCachePolicy(
RequestCacheLevel
level)
62
if (level <
RequestCacheLevel
.Default || level >
RequestCacheLevel
.NoCacheNoStore)
68
public
RequestCacheLevel
Level
283
private static
RequestCacheLevel
MapLevel(HttpRequestCacheLevel level)
287
return (
RequestCacheLevel
) level;
290
return
RequestCacheLevel
.CacheOnly;
293
return
RequestCacheLevel
.Reload;
net\System\Net\Configuration\FtpCachePolicyElement.cs (5)
30
[ConfigurationProperty(ConfigurationStrings.PolicyLevel, DefaultValue =
RequestCacheLevel
.Default)]
31
public
RequestCacheLevel
PolicyLevel
33
get { return (
RequestCacheLevel
)this[this.policyLevel]; }
63
new ConfigurationProperty(ConfigurationStrings.PolicyLevel, typeof(
RequestCacheLevel
),
RequestCacheLevel
.Default, ConfigurationPropertyOptions.None);
net\System\Net\Configuration\RequestCachingSection.cs (6)
39
[ConfigurationProperty(ConfigurationStrings.DefaultPolicyLevel, DefaultValue=(
RequestCacheLevel
)
RequestCacheLevel
.BypassCache)]
40
public
RequestCacheLevel
DefaultPolicyLevel
42
get { return (
RequestCacheLevel
)this[this.defaultPolicyLevel]; }
124
typeof(
RequestCacheLevel
),
125
RequestCacheLevel
.BypassCache,
net\System\Net\FtpWebRequest.cs (4)
1971
RequestCacheLevel
effectiveLevel;
1973
effectiveLevel =
RequestCacheLevel
.BypassCache;
1978
if (effectiveLevel ==
RequestCacheLevel
.Revalidate)
1979
effectiveLevel =
RequestCacheLevel
.Reload;
net\System\Net\NetWebProxyFinder.cs (1)
239
request.CachePolicy = new RequestCachePolicy(
RequestCacheLevel
.Default);
net\System\Net\WebRequest.cs (1)
620
policy.Level !=
RequestCacheLevel
.BypassCache)
System.Runtime.Remoting (1)
channels\http\httpclientchannel.cs (1)
451
private static RequestCachePolicy s_requestCachePolicy = new RequestCachePolicy(
RequestCacheLevel
.BypassCache);
System.ServiceModel (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
37
static RequestCachePolicy requestCachePolicy = new RequestCachePolicy(
RequestCacheLevel
.BypassCache);
System.Web.Services (1)
System\Web\Services\Protocols\ClientProtocol.cs (1)
105
bypassCache = new RequestCachePolicy(
RequestCacheLevel
.BypassCache);