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