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