Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(LoginRegisterServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ILoginRegisterService));
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(LoginRegisterServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ILoginRegisterService));
 }
Пример #3
0
 public LoginRegisterServiceClient(EndpointConfiguration endpointConfiguration) :
     base(LoginRegisterServiceClient.GetBindingForEndpoint(endpointConfiguration), LoginRegisterServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #4
0
 public LoginRegisterServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(LoginRegisterServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #5
0
 public LoginRegisterServiceClient() :
     base(LoginRegisterServiceClient.GetDefaultBinding(), LoginRegisterServiceClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_ILoginRegisterService.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }