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