15 references to Default
System (15)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (5)
94
else if (ctx.Policy.Level == HttpRequestCacheLevel.
Default
)
270
if (ctx.Policy.Level == HttpRequestCacheLevel.
Default
&& ctx.ResponseAge != TimeSpan.MinValue) {
368
if (ctx.Policy.Level == HttpRequestCacheLevel.
Default
) {
881
if (ctx.Policy.Level == HttpRequestCacheLevel.
Default
)
1295
if (ctx.Policy.Level == HttpRequestCacheLevel.
Default
|| ctx.Policy.Level == HttpRequestCacheLevel.Revalidate)
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
406
this.Policy.Level != HttpRequestCacheLevel.
Default
&&
524
if (this.Policy.Level == HttpRequestCacheLevel.
Default
)
net\System\Net\Cache\RequestCachePolicy.cs (5)
148
private HttpRequestCacheLevel m_Level = HttpRequestCacheLevel.
Default
;
157
public HttpRequestCachePolicy():this(HttpRequestCacheLevel.
Default
)
168
public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan ageOrFreshOrStale):this(HttpRequestCacheLevel.
Default
)
188
public HttpRequestCachePolicy(HttpCacheAgeControl cacheAgeControl, TimeSpan maxAge, TimeSpan freshOrStale):this(HttpRequestCacheLevel.
Default
)
216
public HttpRequestCachePolicy(DateTime cacheSyncDate):this(HttpRequestCacheLevel.
Default
)
net\System\Net\Configuration\HttpCachePolicyElement.cs (2)
54
[ConfigurationProperty(ConfigurationStrings.PolicyLevel, IsRequired = true, DefaultValue = (HttpRequestCacheLevel) HttpRequestCacheLevel.
Default
)]
99
new ConfigurationProperty(ConfigurationStrings.PolicyLevel, typeof(HttpRequestCacheLevel), HttpRequestCacheLevel.
Default
,
net\System\Net\Configuration\RequestCachingSection.cs (1)
187
if (httpPolicy.PolicyLevel == HttpRequestCacheLevel.
Default
)