Ejemplo n.º 1
0
 public ServiceReader(ServiceReaderUri baseUri)
 {
     client.BaseAddress = new Uri(baseUri.ServiceUriString);
     client.DefaultRequestHeaders.Accept.Add(
         new MediaTypeWithQualityHeaderValue("application/json"));
 }
 public ServiceReader(ServiceReaderUri baseUri)
 {
     client       = new WebClient();
     this.baseUri = baseUri.ServiceUriString;
 }