Exemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CurrencyServiceClient.GetEndpointAddress(EndpointConfiguration.CurrencyServiceImplPort));
 }
Exemplo n.º 2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(CurrencyServiceClient.GetBindingForEndpoint(EndpointConfiguration.CurrencyServiceImplPort));
 }
Exemplo n.º 3
0
 public CurrencyServiceClient(EndpointConfiguration endpointConfiguration) :
     base(CurrencyServiceClient.GetBindingForEndpoint(endpointConfiguration), CurrencyServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemplo n.º 4
0
 public CurrencyServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(CurrencyServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Exemplo n.º 5
0
 public CurrencyServiceClient() :
     base(CurrencyServiceClient.GetDefaultBinding(), CurrencyServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.CurrencyServiceImplPort.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }