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