private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(MathsClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IMaths)); }
public MathsClient(EndpointConfiguration endpointConfiguration) : base(MathsClient.GetBindingForEndpoint(endpointConfiguration), MathsClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }