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