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