Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(ClockServiceClient.GetEndpointAddress(EndpointConfiguration.ClockService));
 }
Пример #2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(ClockServiceClient.GetBindingForEndpoint(EndpointConfiguration.ClockService));
 }
Пример #3
0
 public ClockServiceClient(EndpointConfiguration endpointConfiguration) :
     base(ClockServiceClient.GetBindingForEndpoint(endpointConfiguration), ClockServiceClient.GetEndpointAddress(endpointConfiguration))
 {
 }
Пример #4
0
 public ClockServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(ClockServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
 }
Пример #5
0
 public ClockServiceClient() :
     base(ClockServiceClient.GetDefaultBinding(), ClockServiceClient.GetDefaultEndpointAddress())
 {
 }