示例#1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(StockServiceClient.GetEndpointAddress(EndpointConfiguration.ClockService));
 }
示例#2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(StockServiceClient.GetBindingForEndpoint(EndpointConfiguration.ClockService));
 }
示例#3
0
 public StockServiceClient(EndpointConfiguration endpointConfiguration) :
     base(StockServiceClient.GetBindingForEndpoint(endpointConfiguration), StockServiceClient.GetEndpointAddress(endpointConfiguration))
 {
 }
示例#4
0
 public StockServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(StockServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
 }
示例#5
0
 public StockServiceClient() :
     base(StockServiceClient.GetDefaultBinding(), StockServiceClient.GetDefaultEndpointAddress())
 {
 }