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