Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(BBlockClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_IBBlock));
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(BBlockClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_IBBlock));
 }
Пример #3
0
 public BBlockClient(EndpointConfiguration endpointConfiguration) :
     base(BBlockClient.GetBindingForEndpoint(endpointConfiguration), BBlockClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #4
0
 public BBlockClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(BBlockClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #5
0
 public BBlockClient() :
     base(BBlockClient.GetDefaultBinding(), BBlockClient.GetDefaultEndpointAddress())
 {
     this.Endpoint.Name = EndpointConfiguration.BasicHttpBinding_IBBlock.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }