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