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