示例#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())
 {
 }