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