Ejemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CourseSeats_ServiceClient.GetEndpointAddress(EndpointConfiguration.CourseSeats_Service));
 }
Ejemplo n.º 2
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);
 }