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