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