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