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); }
private static System.ServiceModel.Channels.Binding GetDefaultBinding() { return(ACADBot_PortClient.GetBindingForEndpoint(EndpointConfiguration.ACADBot_Port)); }
public ACADBot_PortClient(EndpointConfiguration endpointConfiguration) : base(ACADBot_PortClient.GetBindingForEndpoint(endpointConfiguration), ACADBot_PortClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }