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