1 instantiation of ProxyCache
NuGet.Configuration (1)
Proxy\ProxyCache.cs (1)
39return new ProxyCache(
9 references to ProxyCache
NuGet.Configuration (5)
Proxy\ProxyCache.cs (5)
30private static Lazy<ProxyCache> _instance = new Lazy<ProxyCache>(() => FromDefaultSettings()); 37private static ProxyCache FromDefaultSettings() 44public static ProxyCache Instance => _instance.Value; 51internal static void ResetCache() => _instance = new Lazy<ProxyCache>(() => FromDefaultSettings());
NuGet.Protocol (4)
HttpSource\HttpHandlerResourceV3Provider.cs (2)
31: this(ProxyCache.Instance) 101messageHandler = new ProxyAuthenticationHandler(clientHandler, HttpHandlerResourceV3.CredentialService?.Value, ProxyCache.Instance)
HttpSource\HttpSourceAuthenticationHandler.cs (2)
276var proxyCache = ProxyCache.Instance;