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