예제 #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())
 {
 }