private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(CoursePriceType_ServiceClient.GetEndpointAddress(EndpointConfiguration.CoursePriceType_Service)); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(CoursePriceType_ServiceClient.GetBindingForEndpoint(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); }
public CoursePriceType_ServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(CoursePriceType_ServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public CoursePriceType_ServiceClient() : base(CoursePriceType_ServiceClient.GetDefaultBinding(), CoursePriceType_ServiceClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.CoursePriceType_Service.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }