Exemplo n.º 1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(TodoServiceClient.GetEndpointAddress(EndpointConfiguration.BasicHttpBinding_ITodoService));
 }
Exemplo n.º 2
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(TodoServiceClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ITodoService));
 }
Exemplo n.º 3
0
 public TodoServiceClient(EndpointConfiguration endpointConfiguration) :
     base(TodoServiceClient.GetBindingForEndpoint(endpointConfiguration), TodoServiceClient.GetEndpointAddress(endpointConfiguration))
 {
 }
Exemplo n.º 4
0
 public TodoServiceClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(TodoServiceClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
 }
Exemplo n.º 5
0
 public TodoServiceClient() :
     base(TodoServiceClient.GetDefaultBinding(), TodoServiceClient.GetDefaultEndpointAddress())
 {
 }