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