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