public GenresClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) : base(GenresClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(GenresClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IGenres)); }
public GenresClient(EndpointConfiguration endpointConfiguration) : base(GenresClient.GetBindingForEndpoint(endpointConfiguration), GenresClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }