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