12 writes to endpointTrait
System.ServiceModel (12)
System\ServiceModel\ClientBase.cs (12)
73
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>("*", null, null);
93
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>(endpointConfigurationName, null, null);
116
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>(endpointConfigurationName, endpointAddress, null);
138
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>(endpointConfigurationName, remoteAddress, null);
155
this.
endpointTrait
= new ProgrammaticEndpointTrait<TChannel>(binding, remoteAddress, null);
175
this.
endpointTrait
= new ServiceEndpointTrait<TChannel>(endpoint, null);
202
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>("*", null, callbackInstance);
225
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>(endpointConfigurationName, null, callbackInstance);
251
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>(endpointConfigurationName, endpointAddress, callbackInstance);
276
this.
endpointTrait
= new ConfigurationEndpointTrait<TChannel>(endpointConfigurationName, remoteAddress, callbackInstance);
294
this.
endpointTrait
= new ProgrammaticEndpointTrait<TChannel>(binding, remoteAddress, callbackInstance);
317
this.
endpointTrait
= new ServiceEndpointTrait<TChannel>(endpoint, callbackInstance);
8 references to endpointTrait
System.ServiceModel (8)
System\ServiceModel\ClientBase.cs (8)
829
if (factoryRefCache.TryGetValue(this.
endpointTrait
, out factoryRef))
834
factoryRefCache.Remove(this.
endpointTrait
);
853
this.channelFactoryRef = CreateChannelFactoryRef(this.
endpointTrait
);
886
this.channelFactoryRef = CreateChannelFactoryRef(this.
endpointTrait
);
921
if (!factoryRefCache.TryGetValue(this.
endpointTrait
, out cfRef))
925
factoryRefCache.Add(this.
endpointTrait
, this.channelFactoryRef);
948
if (factoryRefCache.TryGetValue(this.
endpointTrait
, out factoryRef))
952
factoryRefCache.Remove(this.
endpointTrait
);