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