7 instantiations of RequestCacheBinding
System (7)
net\System\Net\Cache\RequestCacheManager.cs (4)
34
private static readonly RequestCacheBinding s_BypassCacheBinding = new
RequestCacheBinding
(null, null, new RequestCachePolicy(RequestCacheLevel.BypassCache));
106
s_DefaultGlobalBinding = new
RequestCacheBinding
(settings.DefaultCache, settings.DefaultHttpValidator, settings.DefaultCachePolicy);
107
s_DefaultHttpBinding = new
RequestCacheBinding
(settings.DefaultCache, settings.DefaultHttpValidator, settings.DefaultHttpCachePolicy);
108
s_DefaultFtpBinding = new
RequestCacheBinding
(settings.DefaultCache, settings.DefaultFtpValidator, settings.DefaultFtpCachePolicy);
net\System\Net\FtpWebRequest.cs (1)
275
RequestCacheManager.SetBinding(Uri.UriSchemeFtp, new
RequestCacheBinding
(binding.Cache, binding.Validator, value));
net\System\Net\HttpWebRequest.cs (1)
717
RequestCacheManager.SetBinding(Uri.UriSchemeHttp, new
RequestCacheBinding
(binding.Cache, binding.Validator, value));
net\System\Net\WebRequest.cs (1)
595
RequestCacheManager.SetBinding(string.Empty, new
RequestCacheBinding
(binding.Cache, binding.Validator, value));
10 references to RequestCacheBinding
System (10)
net\System\Net\Cache\RequestCacheManager.cs (6)
34
private static readonly
RequestCacheBinding
s_BypassCacheBinding = new RequestCacheBinding (null, null, new RequestCachePolicy(RequestCacheLevel.BypassCache));
36
private static volatile
RequestCacheBinding
s_DefaultGlobalBinding;
37
private static volatile
RequestCacheBinding
s_DefaultHttpBinding;
38
private static volatile
RequestCacheBinding
s_DefaultFtpBinding;
43
internal static
RequestCacheBinding
GetBinding(string internedScheme)
78
internal static void SetBinding(string uriScheme,
RequestCacheBinding
binding)
net\System\Net\FtpWebRequest.cs (1)
274
RequestCacheBinding
binding = RequestCacheManager.GetBinding(Uri.UriSchemeFtp);
net\System\Net\HttpWebRequest.cs (1)
716
RequestCacheBinding
binding = RequestCacheManager.GetBinding(Uri.UriSchemeHttp);
net\System\Net\WebRequest.cs (2)
58
private
RequestCacheBinding
m_CacheBinding;
594
RequestCacheBinding
binding = RequestCacheManager.GetBinding(string.Empty);