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