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