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