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