protected RequestCacheValidator(bool strictCacheErrors, TimeSpan unspecifiedMaxAge)
 {
     this._StrictCacheErrors    = strictCacheErrors;
     this._UnspecifiedMaxAge    = unspecifiedMaxAge;
     this._ValidationStatus     = CacheValidationStatus.DoNotUseCache;
     this._CacheFreshnessStatus = System.Net.Cache.CacheFreshnessStatus.Undefined;
 }
 protected RequestCacheValidator(bool strictCacheErrors, TimeSpan unspecifiedMaxAge)
 {
     this._StrictCacheErrors = strictCacheErrors;
     this._UnspecifiedMaxAge = unspecifiedMaxAge;
     this._ValidationStatus = CacheValidationStatus.DoNotUseCache;
     this._CacheFreshnessStatus = System.Net.Cache.CacheFreshnessStatus.Undefined;
 }
 internal void FetchRequest(System.Uri uri, WebRequest request)
 {
     this._Request              = request;
     this._Policy               = request.CachePolicy;
     this._Response             = null;
     this._ResponseCount        = 0;
     this._ValidationStatus     = CacheValidationStatus.DoNotUseCache;
     this._CacheFreshnessStatus = System.Net.Cache.CacheFreshnessStatus.Undefined;
     this._CacheStream          = null;
     this._CacheStreamOffset    = 0L;
     this._CacheStreamLength    = 0L;
     if (!uri.Equals(this._Uri))
     {
         this._CacheKey = uri.GetParts(UriComponents.AbsoluteUri, UriFormat.Unescaped);
     }
     this._Uri = uri;
 }
 internal void FetchRequest(System.Uri uri, WebRequest request)
 {
     this._Request = request;
     this._Policy = request.CachePolicy;
     this._Response = null;
     this._ResponseCount = 0;
     this._ValidationStatus = CacheValidationStatus.DoNotUseCache;
     this._CacheFreshnessStatus = System.Net.Cache.CacheFreshnessStatus.Undefined;
     this._CacheStream = null;
     this._CacheStreamOffset = 0L;
     this._CacheStreamLength = 0L;
     if (!uri.Equals(this._Uri))
     {
         this._CacheKey = uri.GetParts(UriComponents.AbsoluteUri, UriFormat.Unescaped);
     }
     this._Uri = uri;
 }
 internal void SetFreshnessStatus(System.Net.Cache.CacheFreshnessStatus status)
 {
     this._CacheFreshnessStatus = status;
 }
 internal void SetFreshnessStatus(System.Net.Cache.CacheFreshnessStatus status)
 {
     this._CacheFreshnessStatus = status;
 }