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