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