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