Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(TempConverterEndpointClient.GetEndpointAddress(EndpointConfiguration.TempConverterEndpointPort));
 }
Пример #2
0
 public TempConverterEndpointClient(EndpointConfiguration endpointConfiguration) :
     base(TempConverterEndpointClient.GetBindingForEndpoint(endpointConfiguration), TempConverterEndpointClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }