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