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