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