15 references to HttpCacheAgeControl
netstandard (1)
netstandard.cs (1)
1068[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Cache.HttpCacheAgeControl))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
595[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Cache.HttpCacheAgeControl))]
System.Net.Requests (13)
System\Net\Cache\HttpRequestCachePolicy.cs (13)
24public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan ageOrFreshOrStale) : this(HttpRequestCacheLevel.Default) 28case HttpCacheAgeControl.MinFresh: 31case HttpCacheAgeControl.MaxAge: 34case HttpCacheAgeControl.MaxStale: 38throw new ArgumentException(SR.Format(SR.net_invalid_enum, nameof(HttpCacheAgeControl)), nameof(cacheAgeControl)); 42public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale) : this(HttpRequestCacheLevel.Default) 46case HttpCacheAgeControl.MinFresh: 49case HttpCacheAgeControl.MaxAge: 52case HttpCacheAgeControl.MaxStale: 55case HttpCacheAgeControl.MaxAgeAndMinFresh: 59case HttpCacheAgeControl.MaxAgeAndMaxStale: 64throw new ArgumentException(SR.Format(SR.net_invalid_enum, nameof(HttpCacheAgeControl)), nameof(cacheAgeControl)); 74public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale, DateTime cacheSyncDate) :