private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress() { return(RegionWSClient.GetEndpointAddress(EndpointConfiguration.RegionWSPort)); }
public RegionWSClient(EndpointConfiguration endpointConfiguration) : base(RegionWSClient.GetBindingForEndpoint(endpointConfiguration), RegionWSClient.GetEndpointAddress(endpointConfiguration)) { this.Endpoint.Name = endpointConfiguration.ToString(); ConfigureEndpoint(this.Endpoint, this.ClientCredentials); }