private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(CourseParticipant_ServiceClient.GetEndpointAddress(EndpointConfiguration.CourseParticipant_Service)); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(CourseParticipant_ServiceClient.GetBindingForEndpoint(EndpointConfiguration.CourseParticipant_Service)); }
public CourseParticipant_ServiceClient(EndpointConfiguration endpointConfiguration) : base(CourseParticipant_ServiceClient.GetBindingForEndpoint(endpointConfiguration), CourseParticipant_ServiceClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public CourseParticipant_ServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(CourseParticipant_ServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
public CourseParticipant_ServiceClient() : base(CourseParticipant_ServiceClient.GetDefaultBinding(), CourseParticipant_ServiceClient.GetDefaultEndpointAddress()) { this.Endpoint.Name = EndpointConfiguration.CourseParticipant_Service.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }