3 writes to _endpointTrait
System.ServiceModel.Primitives (3)
System\ServiceModel\ClientBase.cs (3)
74
_endpointTrait
= new ProgrammaticEndpointTrait<TChannel>(binding, remoteAddress, null);
96
_endpointTrait
= new ServiceEndpointTrait<TChannel>(endpoint, null);
148
_endpointTrait
= new ProgrammaticEndpointTrait<TChannel>(binding, remoteAddress, callbackInstance);
8 references to _endpointTrait
System.ServiceModel.Primitives (8)
System\ServiceModel\ClientBase.cs (8)
656
if (s_factoryRefCache.TryGetValue(
_endpointTrait
, out factoryRef))
661
s_factoryRefCache.Remove(
_endpointTrait
);
680
_channelFactoryRef = CreateChannelFactoryRef(
_endpointTrait
);
717
_channelFactoryRef = CreateChannelFactoryRef(
_endpointTrait
);
754
if (!s_factoryRefCache.TryGetValue(
_endpointTrait
, out cfRef))
758
s_factoryRefCache.Add(
_endpointTrait
, _channelFactoryRef);
781
if (s_factoryRefCache.TryGetValue(
_endpointTrait
, out factoryRef))
785
s_factoryRefCache.Remove(
_endpointTrait
);