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)
24
public HttpRequestCachePolicy(
HttpCacheAgeControl
cacheAgeControl, TimeSpan ageOrFreshOrStale) : this(HttpRequestCacheLevel.Default)
28
case
HttpCacheAgeControl
.MinFresh:
31
case
HttpCacheAgeControl
.MaxAge:
34
case
HttpCacheAgeControl
.MaxStale:
38
throw new ArgumentException(SR.Format(SR.net_invalid_enum, nameof(
HttpCacheAgeControl
)), nameof(cacheAgeControl));
42
public HttpRequestCachePolicy(
HttpCacheAgeControl
cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale) : this(HttpRequestCacheLevel.Default)
46
case
HttpCacheAgeControl
.MinFresh:
49
case
HttpCacheAgeControl
.MaxAge:
52
case
HttpCacheAgeControl
.MaxStale:
55
case
HttpCacheAgeControl
.MaxAgeAndMinFresh:
59
case
HttpCacheAgeControl
.MaxAgeAndMaxStale:
64
throw new ArgumentException(SR.Format(SR.net_invalid_enum, nameof(
HttpCacheAgeControl
)), nameof(cacheAgeControl));
74
public HttpRequestCachePolicy(
HttpCacheAgeControl
cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale, DateTime cacheSyncDate) :