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