private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ServiceEnseignementClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IServiceEnseignement));
 }
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ServiceEnseignementClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IServiceEnseignement));
 }
 public ServiceEnseignementClient(EndpointConfiguration endpointConfiguration) :
     base(ServiceEnseignementClient.GetBindingForEndpoint(endpointConfiguration), ServiceEnseignementClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 public ServiceEnseignementClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ServiceEnseignementClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
 public ServiceEnseignementClient() :
     base(ServiceEnseignementClient.GetDefaultBinding(), ServiceEnseignementClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IServiceEnseignement.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }