public SimpleHelloWorldWcfServiceClient(EndpointConfiguration endpointConfiguration) :
     base(SimpleHelloWorldWcfServiceClient.GetBindingForEndpoint(endpointConfiguration), SimpleHelloWorldWcfServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 public SimpleHelloWorldWcfServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(SimpleHelloWorldWcfServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(SimpleHelloWorldWcfServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ISimpleHelloWorldWcfService));
 }