37 references to Level
PresentationCore (2)
Core\CSharp\System\Windows\Media\RequestCachePolicyConverter.cs (2)
132
return httpPolicy.
Level
.ToString();
137
return new InstanceDescriptor(ci, new object[] { httpPolicy.
Level
});
System (35)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (25)
70
if (ctx.Policy.
Level
== HttpRequestCacheLevel.NoCacheNoStore)
80
if (ctx.Policy.
Level
== HttpRequestCacheLevel.Reload || ctx.Policy.
Level
== HttpRequestCacheLevel.NoCacheNoStore)
87
else if (ctx.Policy.
Level
== HttpRequestCacheLevel.Refresh)
94
else if (ctx.Policy.
Level
== HttpRequestCacheLevel.Default)
107
else if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly || ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOrNextCacheOnly)
161
if (ctx.Policy.
Level
== HttpRequestCacheLevel.Revalidate) {
168
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly) {
181
if (enoughFresh || ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly || ctx.Policy.
Level
== HttpRequestCacheLevel.CacheIfAvailable || ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOrNextCacheOnly)
187
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly) {
270
if (ctx.Policy.
Level
== HttpRequestCacheLevel.Default && ctx.ResponseAge != TimeSpan.MinValue) {
368
if (ctx.Policy.
Level
== HttpRequestCacheLevel.Default) {
452
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly)
465
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly)
484
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly)
881
if (ctx.Policy.
Level
== HttpRequestCacheLevel.Default)
1288
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly || ctx.Policy.
Level
== HttpRequestCacheLevel.CacheIfAvailable || ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOrNextCacheOnly)
1295
if (ctx.Policy.
Level
== HttpRequestCacheLevel.Default || ctx.Policy.
Level
== HttpRequestCacheLevel.Revalidate)
1497
if (ctx.Policy.
Level
== HttpRequestCacheLevel.CacheOnly &&
net\System\Net\Cache\HttpRequestCacheValidator.cs (10)
248
if (this.Policy.
Level
!= HttpRequestCacheLevel.Revalidate && base.Policy.Level >= RequestCacheLevel.Reload)
260
if (this.Policy.
Level
== HttpRequestCacheLevel.CacheOnly)
292
if (result != CacheValidationStatus.ReturnCachedResponse && this.Policy.
Level
== HttpRequestCacheLevel.CacheOnly) {
324
if (this.Policy.
Level
!= HttpRequestCacheLevel.Revalidate && base.Policy.Level >= RequestCacheLevel.Reload)
405
if (this.Policy.
Level
!= HttpRequestCacheLevel.CacheOrNextCacheOnly &&
406
this.Policy.
Level
!= HttpRequestCacheLevel.Default &&
407
this.Policy.
Level
!= HttpRequestCacheLevel.Revalidate)
443
if (this.Policy.
Level
== HttpRequestCacheLevel.NoCacheNoStore) {
447
if (this.Policy.
Level
== HttpRequestCacheLevel.CacheOnly) {
524
if (this.Policy.
Level
== HttpRequestCacheLevel.Default)