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