43 references to CacheFreshnessStatus
System (43)
net\System\Net\Cache\_RequestCacheProtocol.cs (4)
60
internal bool IsCacheFresh {get {return _Validator != null && _Validator.CacheFreshnessStatus ==
CacheFreshnessStatus
.Fresh;}}
674
_Validator.SetFreshnessStatus(
CacheFreshnessStatus
.Undefined);
697
CacheFreshnessStatus
result = _Validator.ValidateFreshness();
699
_IsCacheFresh = result ==
CacheFreshnessStatus
.Fresh;
net\System\Net\Cache\_Rfc2616CacheValidators.cs (20)
116
public static
CacheFreshnessStatus
OnValidateFreshness(HttpRequestCacheValidator ctx)
119
CacheFreshnessStatus
result = Common.ComputeFreshness(ctx);
133
return
CacheFreshnessStatus
.Stale;
137
return
CacheFreshnessStatus
.Stale;
499
public static
CacheFreshnessStatus
ComputeFreshness(HttpRequestCacheValidator ctx) {
569
return
CacheFreshnessStatus
.Fresh;
571
return
CacheFreshnessStatus
.Stale;
583
return
CacheFreshnessStatus
.Fresh;
585
return
CacheFreshnessStatus
.Stale;
607
return
CacheFreshnessStatus
.Fresh;
609
return
CacheFreshnessStatus
.Stale;
618
return
CacheFreshnessStatus
.Fresh;
620
return
CacheFreshnessStatus
.Stale;
651
return
CacheFreshnessStatus
.Fresh;
653
return
CacheFreshnessStatus
.Stale;
660
return
CacheFreshnessStatus
.Fresh;
662
return
CacheFreshnessStatus
.Stale;
926
return ctx.CacheFreshnessStatus ==
CacheFreshnessStatus
.Fresh;
987
if (ctx.CacheFreshnessStatus !=
CacheFreshnessStatus
.Fresh) {
1019
if (ctx.CacheFreshnessStatus !=
CacheFreshnessStatus
.Fresh) {
net\System\Net\Cache\FtpRequestCacheValidator.cs (8)
117
protected internal override
CacheFreshnessStatus
ValidateFreshness()
146
return
CacheFreshnessStatus
.Stale;
148
return
CacheFreshnessStatus
.Fresh;
168
return
CacheFreshnessStatus
.Fresh;
170
return
CacheFreshnessStatus
.Stale;
177
return
CacheFreshnessStatus
.Fresh;
180
return
CacheFreshnessStatus
.Stale;
226
if (CacheFreshnessStatus ==
CacheFreshnessStatus
.Fresh || Policy.Level == RequestCacheLevel.CacheOnly || Policy.Level == RequestCacheLevel.CacheIfAvailable)
net\System\Net\Cache\HttpRequestCacheValidator.cs (3)
216
protected internal override
CacheFreshnessStatus
ValidateFreshness()
299
if (CacheFreshnessStatus ==
CacheFreshnessStatus
.Stale) {
358
if (CacheFreshnessStatus ==
CacheFreshnessStatus
.Stale) {
net\System\Net\Cache\RequestCacheValidator.cs (6)
82
private
CacheFreshnessStatus
_CacheFreshnessStatus;
105
_CacheFreshnessStatus =
CacheFreshnessStatus
.Undefined;
129
protected internal
CacheFreshnessStatus
CacheFreshnessStatus {get {return _CacheFreshnessStatus;}}
169
protected internal abstract
CacheFreshnessStatus
ValidateFreshness();
199
_CacheFreshnessStatus =
CacheFreshnessStatus
.Undefined;
223
internal void SetFreshnessStatus(
CacheFreshnessStatus
status)
net\System\Net\FtpWebRequest.cs (1)
2088
m_FtpWebResponse.InternalSetIsCacheFresh = (ctx.CacheFreshnessStatus !=
CacheFreshnessStatus
.Stale);
net\System\Net\HttpWebRequest.cs (1)
4244
_HttpResponse.InternalSetIsCacheFresh = (ctx.CacheFreshnessStatus !=
CacheFreshnessStatus
.Stale);