2 writes to _httpClientCache
System.ServiceModel.Http (2)
System\ServiceModel\Channels\HttpChannelFactory.cs (2)
133
_httpClientCache
= bindingElement.GetProperty<MruCache<string, HttpClient>>(context);
617
_httpClientCache
= null;
9 references to _httpClientCache
System.ServiceModel.Http (9)
System\ServiceModel\Channels\HttpChannelFactory.cs (9)
265
lock (
_httpClientCache
)
267
foundHttpClient =
_httpClientCache
.TryGetValue(connectionGroupName, out httpClient);
363
lock (
_httpClientCache
)
366
if (
_httpClientCache
.TryGetValue(connectionGroupName, out tempHttpClient))
373
_httpClientCache
.Add(connectionGroupName, httpClient);
612
if (
_httpClientCache
!= null && !
_httpClientCache
.IsDisposed)
614
lock (
_httpClientCache
)
616
_httpClientCache
.Dispose();