Пример #1
0
 public SendShirtServiceClient(EndpointConfiguration endpointConfiguration) :
     base(SendShirtServiceClient.GetBindingForEndpoint(endpointConfiguration), SendShirtServiceClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(SendShirtServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ISendShirtService));
 }