Example #1
0
 public CourseSeats_ServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(CourseSeats_ServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Example #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(CourseSeats_ServiceClient.GetBindingForEndpoint(EndpointConfiguration.CourseSeats_Service));
 }
Example #3
0
 public CourseSeats_ServiceClient(EndpointConfiguration endpointConfiguration) :
     base(CourseSeats_ServiceClient.GetBindingForEndpoint(endpointConfiguration), CourseSeats_ServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }