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