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