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