private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceWCFClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IServiceWCF));
 }
 public ServiceWCFClient(EndpointConfiguration endpointConfiguration) :
     base(ServiceWCFClient.GetBindingForEndpoint(endpointConfiguration), ServiceWCFClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }