Exemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(CalculatorDocLitClient.GetEndpointAddress(EndpointConfiguration.Basic_ICalculatorDocLit));
 }
Exemplo n.º 2
0
 public CalculatorDocLitClient(EndpointConfiguration endpointConfiguration) :
     base(CalculatorDocLitClient.GetBindingForEndpoint(endpointConfiguration), CalculatorDocLitClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }